@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Text extends Object implements Serializable, Cloneable, StructuredPojo
The text message.
| Constructor and Description |
|---|
Text() |
| Modifier and Type | Method and Description |
|---|---|
Text |
clone() |
boolean |
equals(Object obj) |
String |
getLocale()
The locale of the text message.
|
String |
getValue()
The value of the text message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLocale(String locale)
The locale of the text message.
|
void |
setValue(String value)
The value of the text message.
|
String |
toString()
Returns a string representation of this object.
|
Text |
withLocale(Locale locale)
The locale of the text message.
|
Text |
withLocale(String locale)
The locale of the text message.
|
Text |
withValue(String value)
The value of the text message.
|
public void setLocale(String locale)
The locale of the text message. Currently, en-US is supported.
locale - The locale of the text message. Currently, en-US is supported.Localepublic String getLocale()
The locale of the text message. Currently, en-US is supported.
Localepublic Text withLocale(String locale)
The locale of the text message. Currently, en-US is supported.
locale - The locale of the text message. Currently, en-US is supported.Localepublic Text withLocale(Locale locale)
The locale of the text message. Currently, en-US is supported.
locale - The locale of the text message. Currently, en-US is supported.Localepublic void setValue(String value)
The value of the text message.
value - The value of the text message.public String getValue()
The value of the text message.
public Text withValue(String value)
The value of the text message.
value - The value of the text message.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.