Interface DescribeVoicesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeVoicesRequest.Builder,,DescribeVoicesRequest> PollyRequest.Builder,SdkBuilder<DescribeVoicesRequest.Builder,,DescribeVoicesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeVoicesRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the engine (standard,neural,long-formorgenerative) used by Amazon Polly when processing input text for speech synthesis.Specifies the engine (standard,neural,long-formorgenerative) used by Amazon Polly when processing input text for speech synthesis.includeAdditionalLanguageCodes(Boolean includeAdditionalLanguageCodes) Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language.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.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.An opaque pagination token returned from the previousDescribeVoicesoperation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.polly.model.PollyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
engine
Specifies the engine (
standard,neural,long-formorgenerative) used by Amazon Polly when processing input text for speech synthesis.- Parameters:
engine- Specifies the engine (standard,neural,long-formorgenerative) used by Amazon Polly when processing input text for speech synthesis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engine
Specifies the engine (
standard,neural,long-formorgenerative) used by Amazon Polly when processing input text for speech synthesis.- Parameters:
engine- Specifies the engine (standard,neural,long-formorgenerative) used by Amazon Polly when processing input text for speech synthesis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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
yesbut 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 specifyyesbut not if you specifyno.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An opaque pagination token returned from the previous
DescribeVoicesoperation. If present, this indicates where to continue the listing.- Parameters:
nextToken- An opaque pagination token returned from the previousDescribeVoicesoperation. 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeVoicesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-