@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 that's returned from the API.
|
String |
getRequestID()
The unique message body ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMessage(String message)
The error message that's 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 that's returned from the API.
|
MessageBody |
withRequestID(String requestID)
The unique message body ID.
|
public void setMessage(String message)
message
- The error message that's returned from the API.public String getMessage()
public MessageBody withMessage(String message)
message
- The error message that's 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 Object
Object.toString()
public MessageBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.