public class MessageBody extends Object implements Serializable
| Constructor and Description |
|---|
MessageBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMessage()
Returns the value of the message property for this object.
|
String |
getRequestID()
Returns the value of the requestID property for this object.
|
int |
hashCode() |
void |
setMessage(String message)
Sets the value of message
|
void |
setRequestID(String requestID)
Sets the value of requestID
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MessageBody |
withMessage(String message)
Sets the value of the message property for this object.
|
MessageBody |
withRequestID(String requestID)
Sets the value of the requestID property for this object.
|
public String getMessage()
public void setMessage(String message)
message - The new value for the message property for this object.public MessageBody withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message - The new value for the message property for this object.public String getRequestID()
public void setRequestID(String requestID)
requestID - The new value for the requestID property for this
object.public MessageBody withRequestID(String requestID)
Returns a reference to this object so that method calls can be chained together.
requestID - The new value for the requestID property for this
object.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.