@Generated(value="software.amazon.awssdk:codegen") public final class DescribeVoicesRequest extends PollyRequest implements ToCopyableBuilder<DescribeVoicesRequest.Builder,DescribeVoicesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeVoicesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeVoicesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Boolean |
includeAdditionalLanguageCodes()
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional
language.
|
LanguageCode |
languageCode()
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list
of voices returned.
|
String |
languageCodeAsString()
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list
of voices returned.
|
String |
nextToken()
An opaque pagination token returned from the previous
DescribeVoices operation. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeVoicesRequest.Builder> |
serializableBuilderClass() |
DescribeVoicesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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.
If the service returns an enum value that is not available in the current SDK version, languageCode
will
return LanguageCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
languageCodeAsString()
.
LanguageCode
public String languageCodeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, languageCode
will
return LanguageCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
languageCodeAsString()
.
LanguageCode
public 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 specify no
.
yes
but not if you specify no
.public String nextToken()
An opaque pagination token returned from the previous DescribeVoices
operation. If present, this
indicates where to continue the listing.
DescribeVoices
operation. If present,
this indicates where to continue the listing.public DescribeVoicesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeVoicesRequest.Builder,DescribeVoicesRequest>
toBuilder
in class PollyRequest
public static DescribeVoicesRequest.Builder builder()
public static Class<? extends DescribeVoicesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.