public class MessageBody
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MessageBody() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
The error message that's returned from the API.
|
java.lang.String |
getRequestID()
The unique message body ID.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
The error message that's returned from the API.
|
void |
setRequestID(java.lang.String requestID)
The unique message body ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MessageBody |
withMessage(java.lang.String message)
The error message that's returned from the API.
|
MessageBody |
withRequestID(java.lang.String requestID)
The unique message body ID.
|
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The error message that's returned from the API.public MessageBody withMessage(java.lang.String message)
Returns a reference to this object so that method calls can be chained together.
message
- The error message that's returned from the API.public java.lang.String getRequestID()
public void setRequestID(java.lang.String requestID)
requestID
- The unique message body ID.public MessageBody withRequestID(java.lang.String requestID)
Returns a reference to this object so that method calls can be chained together.
requestID
- The unique message body ID.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.