Interface Voice.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Voice.Builder,Voice>,SdkBuilder<Voice.Builder,Voice>,SdkPojo
- Enclosing class:
- Voice
public static interface Voice.Builder extends SdkPojo, CopyableBuilder<Voice.Builder,Voice>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Voice.BuilderadditionalLanguageCodes(Collection<LanguageCode> additionalLanguageCodes)Additional codes for languages available for the specified voice in addition to its default language.Voice.BuilderadditionalLanguageCodes(LanguageCode... additionalLanguageCodes)Additional codes for languages available for the specified voice in addition to its default language.Voice.BuilderadditionalLanguageCodesWithStrings(String... additionalLanguageCodes)Additional codes for languages available for the specified voice in addition to its default language.Voice.BuilderadditionalLanguageCodesWithStrings(Collection<String> additionalLanguageCodes)Additional codes for languages available for the specified voice in addition to its default language.Voice.Buildergender(String gender)Gender of the voice.Voice.Buildergender(Gender gender)Gender of the voice.Voice.Builderid(String id)Amazon Polly assigned voice ID.Voice.Builderid(VoiceId id)Amazon Polly assigned voice ID.Voice.BuilderlanguageCode(String languageCode)Language code of the voice.Voice.BuilderlanguageCode(LanguageCode languageCode)Language code of the voice.Voice.BuilderlanguageName(String languageName)Human readable name of the language in English.Voice.Buildername(String name)Name of the voice (for example, Salli, Kendra, etc.).Voice.BuildersupportedEngines(Collection<Engine> supportedEngines)Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.Voice.BuildersupportedEngines(Engine... supportedEngines)Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.Voice.BuildersupportedEnginesWithStrings(String... supportedEngines)Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.Voice.BuildersupportedEnginesWithStrings(Collection<String> supportedEngines)Specifies which engines (standard,neural,long-formorgenerative) 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
gender
Voice.Builder gender(String gender)
Gender of the voice.
-
gender
Voice.Builder gender(Gender gender)
Gender of the voice.
-
id
Voice.Builder id(String id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeechoperation.
-
id
Voice.Builder id(VoiceId id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeechoperation.
-
languageCode
Voice.Builder languageCode(String 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,LanguageCode
-
languageCode
Voice.Builder languageCode(LanguageCode 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,LanguageCode
-
languageName
Voice.Builder languageName(String 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
Voice.Builder name(String 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
Voice.Builder additionalLanguageCodesWithStrings(Collection<String> 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.
-
additionalLanguageCodesWithStrings
Voice.Builder additionalLanguageCodesWithStrings(String... 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
Voice.Builder additionalLanguageCodes(Collection<LanguageCode> 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
Voice.Builder additionalLanguageCodes(LanguageCode... 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
Voice.Builder supportedEnginesWithStrings(Collection<String> supportedEngines)
Specifies which engines (
standard,neural,long-formorgenerative) are supported by a given voice.- Parameters:
supportedEngines- Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEnginesWithStrings
Voice.Builder supportedEnginesWithStrings(String... supportedEngines)
Specifies which engines (
standard,neural,long-formorgenerative) are supported by a given voice.- Parameters:
supportedEngines- Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngines
Voice.Builder supportedEngines(Collection<Engine> supportedEngines)
Specifies which engines (
standard,neural,long-formorgenerative) are supported by a given voice.- Parameters:
supportedEngines- Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedEngines
Voice.Builder supportedEngines(Engine... supportedEngines)
Specifies which engines (
standard,neural,long-formorgenerative) are supported by a given voice.- Parameters:
supportedEngines- Specifies which engines (standard,neural,long-formorgenerative) are supported by a given voice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-