@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutMessageErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains informations about errors.
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()
The message associated with 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)
The message associated with 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(String errorCode)
The code associated with the error.
|
BatchPutMessageErrorEntry |
withErrorMessage(String errorMessage)
The message associated with 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.public String getErrorCode()
The code associated with the error.
public BatchPutMessageErrorEntry withErrorCode(String errorCode)
The code associated with the error.
errorCode
- The code associated with the error.public void setErrorMessage(String errorMessage)
The message associated with the error.
errorMessage
- The message associated with the error.public String getErrorMessage()
The message associated with the error.
public BatchPutMessageErrorEntry withErrorMessage(String errorMessage)
The message associated with the error.
errorMessage
- The message associated with the error.public String toString()
toString
in class Object
Object.toString()
public BatchPutMessageErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.