@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlainTextMessage extends Object implements Serializable, Cloneable, StructuredPojo
Defines an ASCII text message to send to the user.
Constructor and Description |
---|
PlainTextMessage() |
Modifier and Type | Method and Description |
---|---|
PlainTextMessage |
clone() |
boolean |
equals(Object obj) |
String |
getValue()
The message to send to the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setValue(String value)
The message to send to the user.
|
String |
toString()
Returns a string representation of this object.
|
PlainTextMessage |
withValue(String value)
The message to send to the user.
|
public void setValue(String value)
The message to send to the user.
value
- The message to send to the user.public String getValue()
The message to send to the user.
public PlainTextMessage withValue(String value)
The message to send to the user.
value
- The message to send to the user.public String toString()
toString
in class Object
Object.toString()
public PlainTextMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.