Interface PlainTextMessageType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PlainTextMessageType.Builder,PlainTextMessageType>,SdkBuilder<PlainTextMessageType.Builder,PlainTextMessageType>,SdkPojo
- Enclosing class:
- PlainTextMessageType
public static interface PlainTextMessageType.Builder extends SdkPojo, CopyableBuilder<PlainTextMessageType.Builder,PlainTextMessageType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlainTextMessageType.BuilderlanguageCode(String languageCode)The language to use when delivering the message.PlainTextMessageType.Buildertext(String text)The plain (not SSML-formatted) text to deliver to the recipient.PlainTextMessageType.BuildervoiceId(String voiceId)The name of the voice that you want to use to deliver the message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
languageCode
PlainTextMessageType.Builder languageCode(String languageCode)
The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.- Parameters:
languageCode- The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
PlainTextMessageType.Builder text(String text)
The plain (not SSML-formatted) text to deliver to the recipient.- Parameters:
text- The plain (not SSML-formatted) text to deliver to the recipient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceId
PlainTextMessageType.Builder voiceId(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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-