Class SSMLMessageType
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointsmsvoice.model.SSMLMessageType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SSMLMessageType.Builder,SSMLMessageType>
@Generated("software.amazon.awssdk:codegen") public final class SSMLMessageType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SSMLMessageType.Builder,SSMLMessageType>
An object that defines a message that contains SSML-formatted text.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSSMLMessageType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SSMLMessageType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlanguageCode()The language to use when delivering the message.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SSMLMessageType.Builder>serializableBuilderClass()Stringtext()The SSML-formatted text to deliver to the recipient.SSMLMessageType.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvoiceId()The name of the voice that you want to use to deliver the message.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
languageCode
public final String languageCode()
The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.- Returns:
- The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.
-
text
public final String text()
The SSML-formatted text to deliver to the recipient.- Returns:
- The SSML-formatted text to deliver to the recipient.
-
voiceId
public final String 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.- Returns:
- 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.
-
toBuilder
public SSMLMessageType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SSMLMessageType.Builder,SSMLMessageType>
-
builder
public static SSMLMessageType.Builder builder()
-
serializableBuilderClass
public static Class<? extends SSMLMessageType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-