@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.Locale
public String getLocale()
The locale of the text message. Currently, en-US is supported.
Locale
public 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.Locale
public 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.Locale
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.