@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAlarmActionErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains error messages associated with one of the following requests:
| Constructor and Description |
|---|
BatchAlarmActionErrorEntry() |
| Modifier and Type | Method and Description |
|---|---|
BatchAlarmActionErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
A message that describes the error.
|
String |
getRequestId()
The request ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
A message that describes the error.
|
void |
setRequestId(String requestId)
The request ID.
|
String |
toString()
Returns a string representation of this object.
|
BatchAlarmActionErrorEntry |
withErrorCode(ErrorCode errorCode)
The error code.
|
BatchAlarmActionErrorEntry |
withErrorCode(String errorCode)
The error code.
|
BatchAlarmActionErrorEntry |
withErrorMessage(String errorMessage)
A message that describes the error.
|
BatchAlarmActionErrorEntry |
withRequestId(String requestId)
The request ID.
|
public void setRequestId(String requestId)
The request ID. Each ID must be unique within each batch.
requestId - The request ID. Each ID must be unique within each batch.public String getRequestId()
The request ID. Each ID must be unique within each batch.
public BatchAlarmActionErrorEntry withRequestId(String requestId)
The request ID. Each ID must be unique within each batch.
requestId - The request ID. Each ID must be unique within each batch.public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.ErrorCodepublic String getErrorCode()
The error code.
ErrorCodepublic BatchAlarmActionErrorEntry withErrorCode(String errorCode)
The error code.
errorCode - The error code.ErrorCodepublic BatchAlarmActionErrorEntry withErrorCode(ErrorCode errorCode)
The error code.
errorCode - The error code.ErrorCodepublic void setErrorMessage(String errorMessage)
A message that describes the error.
errorMessage - A message that describes the error.public String getErrorMessage()
A message that describes the error.
public BatchAlarmActionErrorEntry withErrorMessage(String errorMessage)
A message that describes the error.
errorMessage - A message that describes the error.public String toString()
toString in class ObjectObject.toString()public BatchAlarmActionErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.