@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageBody extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
MessageBody() |
| Modifier and Type | Method and Description |
|---|---|
MessageBody |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The error message returned from the API.
|
String |
getRequestID()
The unique message body ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
The error message returned from the API.
|
void |
setRequestID(String requestID)
The unique message body ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MessageBody |
withMessage(String message)
The error message returned from the API.
|
MessageBody |
withRequestID(String requestID)
The unique message body ID.
|
public void setMessage(String message)
message - The error message returned from the API.public String getMessage()
public MessageBody withMessage(String message)
message - The error message returned from the API.public void setRequestID(String requestID)
requestID - The unique message body ID.public String getRequestID()
public MessageBody withRequestID(String requestID)
requestID - The unique message body ID.public String toString()
toString in class ObjectObject.toString()public MessageBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.