@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeVoicesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVoicesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEngine()
Specifies the engine (
standard , neural , long-form or
generative ) used by Amazon Polly when processing input text for speech synthesis. |
Boolean |
getIncludeAdditionalLanguageCodes()
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional
language.
|
String |
getLanguageCode()
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list
of voices returned.
|
String |
getNextToken()
An opaque pagination token returned from the previous
DescribeVoices operation. |
int |
hashCode() |
Boolean |
isIncludeAdditionalLanguageCodes()
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional
language.
|
void |
setEngine(Engine engine)
Specifies the engine (
standard , neural , long-form or
generative ) used by Amazon Polly when processing input text for speech synthesis. |
void |
setEngine(String engine)
Specifies the engine (
standard , neural , long-form or
generative ) used by Amazon Polly when processing input text for speech synthesis. |
void |
setIncludeAdditionalLanguageCodes(Boolean includeAdditionalLanguageCodes)
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional
language.
|
void |
setLanguageCode(LanguageCode languageCode)
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list
of voices returned.
|
void |
setLanguageCode(String languageCode)
The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list
of voices returned.
|
void |
setNextToken(String nextToken)
An opaque pagination token returned from the previous
DescribeVoices operation. |
String |
toString()
Returns a string representation of this object.
|
DescribeVoicesRequest |
withEngine(Engine engine)
Specifies the engine (
standard , neural , long-form or
generative ) used by Amazon Polly when processing input text for speech synthesis. |
DescribeVoicesRequest |
withEngine(String engine)
Specifies the engine (
standard , neural , long-form or
generative ) used by Amazon Polly when processing input text for speech synthesis. |
DescribeVoicesRequest |
withIncludeAdditionalLanguageCodes(Boolean includeAdditionalLanguageCodes)
Boolean value indicating whether to return any bilingual voices that use the specified language as an additional
language.
|
DescribeVoicesRequest |
withLanguageCode(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 |
withLanguageCode(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 |
withNextToken(String nextToken)
An opaque pagination token returned from the previous
DescribeVoices operation. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEngine(String engine)
Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.
engine
- Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.Engine
public String getEngine()
Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.
standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.Engine
public DescribeVoicesRequest withEngine(String engine)
Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.
engine
- Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.Engine
public void setEngine(Engine engine)
Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.
engine
- Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.Engine
public DescribeVoicesRequest withEngine(Engine engine)
Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.
engine
- Specifies the engine (standard
, neural
, long-form
or
generative
) used by Amazon Polly when processing input text for speech synthesis.Engine
public void setLanguageCode(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.
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.LanguageCode
public String getLanguageCode()
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.
LanguageCode
public DescribeVoicesRequest withLanguageCode(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.
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.LanguageCode
public void setLanguageCode(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.
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.LanguageCode
public DescribeVoicesRequest withLanguageCode(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.
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.LanguageCode
public void setIncludeAdditionalLanguageCodes(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
.
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
.public Boolean getIncludeAdditionalLanguageCodes()
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 DescribeVoicesRequest withIncludeAdditionalLanguageCodes(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
.
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
.public Boolean isIncludeAdditionalLanguageCodes()
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 void setNextToken(String nextToken)
An opaque pagination token returned from the previous DescribeVoices
operation. If present, this
indicates where to continue the listing.
nextToken
- An opaque pagination token returned from the previous DescribeVoices
operation. If present,
this indicates where to continue the listing.public String getNextToken()
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 withNextToken(String nextToken)
An opaque pagination token returned from the previous DescribeVoices
operation. If present, this
indicates where to continue the listing.
nextToken
- An opaque pagination token returned from the previous DescribeVoices
operation. If present,
this indicates where to continue the listing.public String toString()
toString
in class Object
Object.toString()
public DescribeVoicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()