public static interface VoiceTemplateResponse.Builder extends SdkPojo, CopyableBuilder<VoiceTemplateResponse.Builder,VoiceTemplateResponse>
| Modifier and Type | Method and Description |
|---|---|
VoiceTemplateResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the message template.
|
VoiceTemplateResponse.Builder |
body(String body)
The text of the script that's used in messages that are based on the message template, in plain text format.
|
VoiceTemplateResponse.Builder |
creationDate(String creationDate)
The date, in ISO 8601 format, when the message template was created.
|
VoiceTemplateResponse.Builder |
defaultSubstitutions(String defaultSubstitutions)
The JSON object that specifies the default values that are used for message variables in the message
template.
|
VoiceTemplateResponse.Builder |
languageCode(String languageCode)
The code for the language that's used when synthesizing the text of the script in messages that are based on
the message template.
|
VoiceTemplateResponse.Builder |
lastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the message template was last modified.
|
VoiceTemplateResponse.Builder |
tags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the message
template.
|
VoiceTemplateResponse.Builder |
templateDescription(String templateDescription)
The custom description of the message template.
|
VoiceTemplateResponse.Builder |
templateName(String templateName)
The name of the message template.
|
VoiceTemplateResponse.Builder |
templateType(String templateType)
The type of channel that the message template is designed for.
|
VoiceTemplateResponse.Builder |
templateType(TemplateType templateType)
The type of channel that the message template is designed for.
|
VoiceTemplateResponse.Builder |
version(String version)
The unique identifier, as an integer, for the active version of the message template, or the version of the
template that you specified by using the version parameter in your request.
|
VoiceTemplateResponse.Builder |
voiceId(String voiceId)
The name of the voice that's used when delivering messages that are based on the message template.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVoiceTemplateResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the message template.
arn - The Amazon Resource Name (ARN) of the message template.VoiceTemplateResponse.Builder body(String body)
The text of the script that's used in messages that are based on the message template, in plain text format.
body - The text of the script that's used in messages that are based on the message template, in plain text
format.VoiceTemplateResponse.Builder creationDate(String creationDate)
The date, in ISO 8601 format, when the message template was created.
creationDate - The date, in ISO 8601 format, when the message template was created.VoiceTemplateResponse.Builder defaultSubstitutions(String defaultSubstitutions)
The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
defaultSubstitutions - The JSON object that specifies the default values that are used for message variables in the message
template. This object is a set of key-value pairs. Each key defines a message variable in the
template. The corresponding value defines the default value for that variable.VoiceTemplateResponse.Builder languageCode(String languageCode)
The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
languageCode - The code for the language that's used when synthesizing the text of the script in messages that are
based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.VoiceTemplateResponse.Builder lastModifiedDate(String lastModifiedDate)
The date, in ISO 8601 format, when the message template was last modified.
lastModifiedDate - The date, in ISO 8601 format, when the message template was last modified.VoiceTemplateResponse.Builder tags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
tags - A string-to-string map of key-value pairs that identifies the tags that are associated with the
message template. Each tag consists of a required tag key and an associated tag value.VoiceTemplateResponse.Builder templateDescription(String templateDescription)
The custom description of the message template.
templateDescription - The custom description of the message template.VoiceTemplateResponse.Builder templateName(String templateName)
The name of the message template.
templateName - The name of the message template.VoiceTemplateResponse.Builder templateType(String templateType)
The type of channel that the message template is designed for. For a voice template, this value is VOICE.
templateType - The type of channel that the message template is designed for. For a voice template, this value is
VOICE.TemplateType,
TemplateTypeVoiceTemplateResponse.Builder templateType(TemplateType templateType)
The type of channel that the message template is designed for. For a voice template, this value is VOICE.
templateType - The type of channel that the message template is designed for. For a voice template, this value is
VOICE.TemplateType,
TemplateTypeVoiceTemplateResponse.Builder version(String version)
The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
version - The unique identifier, as an integer, for the active version of the message template, or the version
of the template that you specified by using the version parameter in your request.VoiceTemplateResponse.Builder voiceId(String voiceId)
The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide.
voiceId - The name of the voice that's used when delivering messages that are based on the message template. For
a list of supported voices, see the Amazon Polly Developer Guide.Copyright © 2019. All rights reserved.