@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() |
Engine |
engine()
Specifies the engine (
standard or neural) used by Amazon Polly when processing input
text for speech synthesis. |
String |
engineAsString()
Specifies the engine (
standard or neural) used by Amazon Polly when processing input
text for speech synthesis. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Engine engine()
Specifies the engine (standard or neural) used by Amazon Polly when processing input
text for speech synthesis.
If the service returns an enum value that is not available in the current SDK version, engine will
return Engine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
engineAsString().
standard or neural) used by Amazon Polly when processing
input text for speech synthesis.Enginepublic final String engineAsString()
Specifies the engine (standard or neural) used by Amazon Polly when processing input
text for speech synthesis.
If the service returns an enum value that is not available in the current SDK version, engine will
return Engine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
engineAsString().
standard or neural) used by Amazon Polly when processing
input text for speech synthesis.Enginepublic final 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().
LanguageCodepublic final 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().
LanguageCodepublic final 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 final 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()
toBuilder in interface ToCopyableBuilder<DescribeVoicesRequest.Builder,DescribeVoicesRequest>toBuilder in class PollyRequestpublic static DescribeVoicesRequest.Builder builder()
public static Class<? extends DescribeVoicesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.