@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 code associated with the error.
|
String |
getErrorMessage()
More information about 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 code associated with the error.
|
void |
setErrorMessage(String errorMessage)
More information about 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 code associated with the error.
|
BatchPutMessageErrorEntry |
withErrorCode(String errorCode)
The code associated with the error.
|
BatchPutMessageErrorEntry |
withErrorMessage(String errorMessage)
More information about 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 code associated with the error.
errorCode - The code associated with the error.ErrorCodepublic String getErrorCode()
The code associated with the error.
ErrorCodepublic BatchPutMessageErrorEntry withErrorCode(String errorCode)
The code associated with the error.
errorCode - The code associated with the error.ErrorCodepublic BatchPutMessageErrorEntry withErrorCode(ErrorCode errorCode)
The code associated with the error.
errorCode - The code associated with the error.ErrorCodepublic void setErrorMessage(String errorMessage)
More information about the error.
errorMessage - More information about the error.public String getErrorMessage()
More information about the error.
public BatchPutMessageErrorEntry withErrorMessage(String errorMessage)
More information about the error.
errorMessage - More information about 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.