Interface DescribeVoicesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeVoicesRequest.Builder,DescribeVoicesRequest>
,PollyRequest.Builder
,SdkBuilder<DescribeVoicesRequest.Builder,DescribeVoicesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeVoicesRequest
public static interface DescribeVoicesRequest.Builder extends PollyRequest.Builder, SdkPojo, CopyableBuilder<DescribeVoicesRequest.Builder,DescribeVoicesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeVoicesRequest.Builder
engine(String engine)
Specifies the engine (standard
,neural
,long-form
orgenerative
) used by Amazon Polly when processing input text for speech synthesis.DescribeVoicesRequest.Builder
engine(Engine engine)
Specifies the engine (standard
,neural
,long-form
orgenerative
) used by Amazon Polly when processing input text for speech synthesis.DescribeVoicesRequest.Builder
includeAdditionalLanguageCodes(Boolean includeAdditionalLanguageCodes)
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language.DescribeVoicesRequest.Builder
languageCode(String languageCode)
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned.DescribeVoicesRequest.Builder
languageCode(LanguageCode languageCode)
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned.DescribeVoicesRequest.Builder
nextToken(String nextToken)
An opaque pagination token returned from the previousDescribeVoices
operation.DescribeVoicesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DescribeVoicesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.polly.model.PollyRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
engine
DescribeVoicesRequest.Builder engine(String engine)
Specifies the engine (
standard
,neural
,long-form
orgenerative
) used by Amazon Polly when processing input text for speech synthesis.
-
engine
DescribeVoicesRequest.Builder engine(Engine engine)
Specifies the engine (
standard
,neural
,long-form
orgenerative
) used by Amazon Polly when processing input text for speech synthesis.
-
languageCode
DescribeVoicesRequest.Builder languageCode(String languageCode)
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.
- Parameters:
languageCode
- The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode
,LanguageCode
-
languageCode
DescribeVoicesRequest.Builder languageCode(LanguageCode languageCode)
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.
- Parameters:
languageCode
- The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode
,LanguageCode
-
includeAdditionalLanguageCodes
DescribeVoicesRequest.Builder includeAdditionalLanguageCodes(Boolean includeAdditionalLanguageCodes)
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will be included if you specify
yes
but not if you specifyno
.- Parameters:
includeAdditionalLanguageCodes
- Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will be included if you specifyyes
but not if you specifyno
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeVoicesRequest.Builder nextToken(String nextToken)
An opaque pagination token returned from the previous
DescribeVoices
operation. If present, this indicates where to continue the listing.- Parameters:
nextToken
- An opaque pagination token returned from the previousDescribeVoices
operation. If present, this indicates where to continue the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeVoicesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeVoicesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-