@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SSMLMessageType extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SSMLMessageType() |
Modifier and Type | Method and Description |
---|---|
SSMLMessageType |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language to use when delivering the message.
|
String |
getText()
The 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 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.
|
SSMLMessageType |
withLanguageCode(String languageCode)
The language to use when delivering the message.
|
SSMLMessageType |
withText(String text)
The SSML-formatted text to deliver to the recipient.
|
SSMLMessageType |
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 SSMLMessageType 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 SSML-formatted text to deliver to the recipient.public String getText()
public SSMLMessageType withText(String text)
text
- The 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 SSMLMessageType 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 Object
Object.toString()
public SSMLMessageType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.