public static interface Voice.Builder extends SdkPojo, CopyableBuilder<Voice.Builder,Voice>
Modifier and Type | Method and Description |
---|---|
Voice.Builder |
additionalLanguageCodes(Collection<LanguageCode> additionalLanguageCodes)
Additional codes for languages available for the specified voice in addition to its default language.
|
Voice.Builder |
additionalLanguageCodes(LanguageCode... additionalLanguageCodes)
Additional codes for languages available for the specified voice in addition to its default language.
|
Voice.Builder |
additionalLanguageCodesWithStrings(Collection<String> additionalLanguageCodes)
Additional codes for languages available for the specified voice in addition to its default language.
|
Voice.Builder |
additionalLanguageCodesWithStrings(String... additionalLanguageCodes)
Additional codes for languages available for the specified voice in addition to its default language.
|
Voice.Builder |
gender(Gender gender)
Gender of the voice.
|
Voice.Builder |
gender(String gender)
Gender of the voice.
|
Voice.Builder |
id(String id)
Amazon Polly assigned voice ID.
|
Voice.Builder |
id(VoiceId id)
Amazon Polly assigned voice ID.
|
Voice.Builder |
languageCode(LanguageCode languageCode)
Language code of the voice.
|
Voice.Builder |
languageCode(String languageCode)
Language code of the voice.
|
Voice.Builder |
languageName(String languageName)
Human readable name of the language in English.
|
Voice.Builder |
name(String name)
Name of the voice (for example, Salli, Kendra, etc.).
|
copy
applyMutation, build
Voice.Builder gender(String gender)
Gender of the voice.
Voice.Builder gender(Gender gender)
Gender of the voice.
Voice.Builder id(String id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech
operation.
Voice.Builder id(VoiceId id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech
operation.
Voice.Builder languageCode(String languageCode)
Language code of the voice.
languageCode
- Language code of the voice.LanguageCode
,
LanguageCode
Voice.Builder languageCode(LanguageCode languageCode)
Language code of the voice.
languageCode
- Language code of the voice.LanguageCode
,
LanguageCode
Voice.Builder languageName(String languageName)
Human readable name of the language in English.
languageName
- Human readable name of the language in English.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.
name
- Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that
you might display in your application.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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.