@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlainTextMessageType extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
PlainTextMessageType() |
| Modifier and Type | Method and Description |
|---|---|
PlainTextMessageType |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language to use when delivering the message.
|
String |
getText()
The plain (not SSML-formatted) text to deliver to the recipient.
|
String |
getVoiceId()
The name of the voice that you want to use to deliver the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLanguageCode(String languageCode)
The language to use when delivering the message.
|
void |
setText(String text)
The plain (not SSML-formatted) text to deliver to the recipient.
|
void |
setVoiceId(String voiceId)
The name of the voice that you want to use to deliver the message.
|
String |
toString()
Returns a string representation of this object.
|
PlainTextMessageType |
withLanguageCode(String languageCode)
The language to use when delivering the message.
|
PlainTextMessageType |
withText(String text)
The plain (not SSML-formatted) text to deliver to the recipient.
|
PlainTextMessageType |
withVoiceId(String voiceId)
The name of the voice that you want to use to deliver the message.
|
public void setLanguageCode(String languageCode)
languageCode - The language to use when delivering the message. For a complete list of supported languages, see the
Amazon Polly Developer Guide.public String getLanguageCode()
public PlainTextMessageType withLanguageCode(String languageCode)
languageCode - The language to use when delivering the message. For a complete list of supported languages, see the
Amazon Polly Developer Guide.public void setText(String text)
text - The plain (not SSML-formatted) text to deliver to the recipient.public String getText()
public PlainTextMessageType withText(String text)
text - The plain (not SSML-formatted) text to deliver to the recipient.public void setVoiceId(String voiceId)
voiceId - The name of the voice that you want to use to deliver the message. For a complete list of supported
voices, see the Amazon Polly Developer Guide.public String getVoiceId()
public PlainTextMessageType withVoiceId(String voiceId)
voiceId - The name of the voice that you want to use to deliver the message. For a complete list of supported
voices, see the Amazon Polly Developer Guide.public String toString()
toString in class ObjectObject.toString()public PlainTextMessageType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.