@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.ErrorCode
public String getErrorCode()
The error code.
ErrorCode
public BatchPutMessageErrorEntry withErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public BatchPutMessageErrorEntry withErrorCode(ErrorCode errorCode)
The error code.
errorCode
- The error code.ErrorCode
public 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 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.