Interface Voice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Voice.Builder,
,Voice> SdkBuilder<Voice.Builder,
,Voice> SdkPojo
- Enclosing class:
Voice
-
Method Summary
Modifier and TypeMethodDescriptionadditionalLanguageCodes
(Collection<LanguageCode> additionalLanguageCodes) Additional codes for languages available for the specified voice in addition to its default language.additionalLanguageCodes
(LanguageCode... additionalLanguageCodes) Additional codes for languages available for the specified voice in addition to its default language.additionalLanguageCodesWithStrings
(String... additionalLanguageCodes) Additional codes for languages available for the specified voice in addition to its default language.additionalLanguageCodesWithStrings
(Collection<String> additionalLanguageCodes) Additional codes for languages available for the specified voice in addition to its default language.Gender of the voice.Gender of the voice.Amazon Polly assigned voice ID.Amazon Polly assigned voice ID.languageCode
(String languageCode) Language code of the voice.languageCode
(LanguageCode languageCode) Language code of the voice.languageName
(String languageName) Human readable name of the language in English.Name of the voice (for example, Salli, Kendra, etc.).supportedEngines
(Collection<Engine> supportedEngines) Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.supportedEngines
(Engine... supportedEngines) Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.supportedEnginesWithStrings
(String... supportedEngines) Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.supportedEnginesWithStrings
(Collection<String> supportedEngines) Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.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, sdkFields
-
Method Details
-
gender
Gender of the voice.
- Parameters:
gender
- Gender of the voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gender
Gender of the voice.
- Parameters:
gender
- Gender of the voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech
operation.- Parameters:
id
- Amazon Polly assigned voice ID. This is the ID that you specify when calling theSynthesizeSpeech
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech
operation.- Parameters:
id
- Amazon Polly assigned voice ID. This is the ID that you specify when calling theSynthesizeSpeech
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
Language code of the voice.
- Parameters:
languageCode
- Language code of the voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
Language code of the voice.
- Parameters:
languageCode
- Language code of the voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageName
Human readable name of the language in English.
- Parameters:
languageName
- Human readable name of the language in English.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
- Parameters:
name
- Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLanguageCodesWithStrings
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Parameters:
additionalLanguageCodes
- Additional codes for languages available for the specified voice in addition to its default language.For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLanguageCodesWithStrings
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Parameters:
additionalLanguageCodes
- Additional codes for languages available for the specified voice in addition to its default language.For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLanguageCodes
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Parameters:
additionalLanguageCodes
- Additional codes for languages available for the specified voice in addition to its default language.For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLanguageCodes
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Parameters:
additionalLanguageCodes
- Additional codes for languages available for the specified voice in addition to its default language.For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code
hi-IN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEnginesWithStrings
Specifies which engines (
standard
,neural
orlong-form
) are supported by a given voice.- Parameters:
supportedEngines
- Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEnginesWithStrings
Specifies which engines (
standard
,neural
orlong-form
) are supported by a given voice.- Parameters:
supportedEngines
- Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngines
Specifies which engines (
standard
,neural
orlong-form
) are supported by a given voice.- Parameters:
supportedEngines
- Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngines
Specifies which engines (
standard
,neural
orlong-form
) are supported by a given voice.- Parameters:
supportedEngines
- Specifies which engines (standard
,neural
orlong-form
) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-