@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutMessageErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the errors encountered.
| Constructor and Description |
|---|
BatchPutMessageErrorEntry() |
| Modifier and Type | Method and Description |
|---|---|
BatchPutMessageErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
A message that describes the error.
|
String |
getMessageId()
The ID of the message that caused the error.
|
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 |
setMessageId(String messageId)
The ID of the message that caused the error.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutMessageErrorEntry |
withErrorCode(ErrorCode errorCode)
The error code.
|
BatchPutMessageErrorEntry |
withErrorCode(String errorCode)
The error code.
|
BatchPutMessageErrorEntry |
withErrorMessage(String errorMessage)
A message that describes the error.
|
BatchPutMessageErrorEntry |
withMessageId(String messageId)
The ID of the message that caused the error.
|
public void setMessageId(String messageId)
The ID of the message that caused the error. (See the value corresponding to the "messageId" key in
the "message" object.)
messageId - The ID of the message that caused the error. (See the value corresponding to the "messageId"
key in the "message" object.)public String getMessageId()
The ID of the message that caused the error. (See the value corresponding to the "messageId" key in
the "message" object.)
"messageId"
key in the "message" object.)public BatchPutMessageErrorEntry withMessageId(String messageId)
The ID of the message that caused the error. (See the value corresponding to the "messageId" key in
the "message" object.)
messageId - The ID of the message that caused the error. (See the value corresponding to the "messageId"
key in the "message" object.)public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.ErrorCodepublic String getErrorCode()
The error code.
ErrorCodepublic BatchPutMessageErrorEntry withErrorCode(String errorCode)
The error code.
errorCode - The error code.ErrorCodepublic BatchPutMessageErrorEntry 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 BatchPutMessageErrorEntry 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 BatchPutMessageErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.