@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.ErrorCode
public String getErrorCode()
The code associated with the error.
ErrorCode
public BatchPutMessageErrorEntry withErrorCode(String errorCode)
The code associated with the error.
errorCode
- The code associated with the error.ErrorCode
public BatchPutMessageErrorEntry withErrorCode(ErrorCode errorCode)
The code associated with the error.
errorCode
- The code associated with the error.ErrorCode
public 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.