public class SynthesisTask
extends java.lang.Object
implements java.io.Serializable
SynthesisTask object that provides information about a speech synthesis task.
Constructor and Description |
---|
SynthesisTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTime()
Timestamp for the time the synthesis task was started.
|
java.lang.String |
getEngine()
Specifies the engine (
standard or neural ) for
Amazon Polly to use when processing input text for speech synthesis. |
java.lang.String |
getLanguageCode()
Optional language code for a synthesis task.
|
java.util.List<java.lang.String> |
getLexiconNames()
List of one or more pronunciation lexicon names you want the service to
apply during synthesis.
|
java.lang.String |
getOutputFormat()
The format in which the returned output will be encoded.
|
java.lang.String |
getOutputUri()
Pathway for the output speech file.
|
java.lang.Integer |
getRequestCharacters()
Number of billable characters synthesized.
|
java.lang.String |
getSampleRate()
The audio frequency specified in Hz.
|
java.lang.String |
getSnsTopicArn()
ARN for the SNS topic optionally used for providing status notification
for a speech synthesis task.
|
java.util.List<java.lang.String> |
getSpeechMarkTypes()
The type of speech marks returned for the input text.
|
java.lang.String |
getTaskId()
The Amazon Polly generated identifier for a speech synthesis task.
|
java.lang.String |
getTaskStatus()
Current status of the individual speech synthesis task.
|
java.lang.String |
getTaskStatusReason()
Reason for the current status of a specific speech synthesis task,
including errors if the task has failed.
|
java.lang.String |
getTextType()
Specifies whether the input text is plain text or SSML.
|
java.lang.String |
getVoiceId()
Voice ID to use for the synthesis.
|
int |
hashCode() |
void |
setCreationTime(java.util.Date creationTime)
Timestamp for the time the synthesis task was started.
|
void |
setEngine(Engine engine)
Specifies the engine (
standard or neural ) for
Amazon Polly to use when processing input text for speech synthesis. |
void |
setEngine(java.lang.String engine)
Specifies the engine (
standard or neural ) for
Amazon Polly to use when processing input text for speech synthesis. |
void |
setLanguageCode(LanguageCode languageCode)
Optional language code for a synthesis task.
|
void |
setLanguageCode(java.lang.String languageCode)
Optional language code for a synthesis task.
|
void |
setLexiconNames(java.util.Collection<java.lang.String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to
apply during synthesis.
|
void |
setOutputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded.
|
void |
setOutputFormat(java.lang.String outputFormat)
The format in which the returned output will be encoded.
|
void |
setOutputUri(java.lang.String outputUri)
Pathway for the output speech file.
|
void |
setRequestCharacters(java.lang.Integer requestCharacters)
Number of billable characters synthesized.
|
void |
setSampleRate(java.lang.String sampleRate)
The audio frequency specified in Hz.
|
void |
setSnsTopicArn(java.lang.String snsTopicArn)
ARN for the SNS topic optionally used for providing status notification
for a speech synthesis task.
|
void |
setSpeechMarkTypes(java.util.Collection<java.lang.String> speechMarkTypes)
The type of speech marks returned for the input text.
|
void |
setTaskId(java.lang.String taskId)
The Amazon Polly generated identifier for a speech synthesis task.
|
void |
setTaskStatus(java.lang.String taskStatus)
Current status of the individual speech synthesis task.
|
void |
setTaskStatus(TaskStatus taskStatus)
Current status of the individual speech synthesis task.
|
void |
setTaskStatusReason(java.lang.String taskStatusReason)
Reason for the current status of a specific speech synthesis task,
including errors if the task has failed.
|
void |
setTextType(java.lang.String textType)
Specifies whether the input text is plain text or SSML.
|
void |
setTextType(TextType textType)
Specifies whether the input text is plain text or SSML.
|
void |
setVoiceId(java.lang.String voiceId)
Voice ID to use for the synthesis.
|
void |
setVoiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SynthesisTask |
withCreationTime(java.util.Date creationTime)
Timestamp for the time the synthesis task was started.
|
SynthesisTask |
withEngine(Engine engine)
Specifies the engine (
standard or neural ) for
Amazon Polly to use when processing input text for speech synthesis. |
SynthesisTask |
withEngine(java.lang.String engine)
Specifies the engine (
standard or neural ) for
Amazon Polly to use when processing input text for speech synthesis. |
SynthesisTask |
withLanguageCode(LanguageCode languageCode)
Optional language code for a synthesis task.
|
SynthesisTask |
withLanguageCode(java.lang.String languageCode)
Optional language code for a synthesis task.
|
SynthesisTask |
withLexiconNames(java.util.Collection<java.lang.String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to
apply during synthesis.
|
SynthesisTask |
withLexiconNames(java.lang.String... lexiconNames)
List of one or more pronunciation lexicon names you want the service to
apply during synthesis.
|
SynthesisTask |
withOutputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded.
|
SynthesisTask |
withOutputFormat(java.lang.String outputFormat)
The format in which the returned output will be encoded.
|
SynthesisTask |
withOutputUri(java.lang.String outputUri)
Pathway for the output speech file.
|
SynthesisTask |
withRequestCharacters(java.lang.Integer requestCharacters)
Number of billable characters synthesized.
|
SynthesisTask |
withSampleRate(java.lang.String sampleRate)
The audio frequency specified in Hz.
|
SynthesisTask |
withSnsTopicArn(java.lang.String snsTopicArn)
ARN for the SNS topic optionally used for providing status notification
for a speech synthesis task.
|
SynthesisTask |
withSpeechMarkTypes(java.util.Collection<java.lang.String> speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesisTask |
withSpeechMarkTypes(java.lang.String... speechMarkTypes)
The type of speech marks returned for the input text.
|
SynthesisTask |
withTaskId(java.lang.String taskId)
The Amazon Polly generated identifier for a speech synthesis task.
|
SynthesisTask |
withTaskStatus(java.lang.String taskStatus)
Current status of the individual speech synthesis task.
|
SynthesisTask |
withTaskStatus(TaskStatus taskStatus)
Current status of the individual speech synthesis task.
|
SynthesisTask |
withTaskStatusReason(java.lang.String taskStatusReason)
Reason for the current status of a specific speech synthesis task,
including errors if the task has failed.
|
SynthesisTask |
withTextType(java.lang.String textType)
Specifies whether the input text is plain text or SSML.
|
SynthesisTask |
withTextType(TextType textType)
Specifies whether the input text is plain text or SSML.
|
SynthesisTask |
withVoiceId(java.lang.String voiceId)
Voice ID to use for the synthesis.
|
SynthesisTask |
withVoiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
|
public java.lang.String getEngine()
Specifies the engine (standard
or neural
) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Constraints:
Allowed Values: standard, neural
Specifies the engine (standard
or
neural
) for Amazon Polly to use when processing
input text for speech synthesis. Using a voice that is not
supported for the engine selected will result in an error.
Engine
public void setEngine(java.lang.String engine)
Specifies the engine (standard
or neural
) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Constraints:
Allowed Values: standard, neural
engine
-
Specifies the engine (standard
or
neural
) for Amazon Polly to use when processing
input text for speech synthesis. Using a voice that is not
supported for the engine selected will result in an error.
Engine
public SynthesisTask withEngine(java.lang.String engine)
Specifies the engine (standard
or neural
) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: standard, neural
engine
-
Specifies the engine (standard
or
neural
) for Amazon Polly to use when processing
input text for speech synthesis. Using a voice that is not
supported for the engine selected will result in an error.
Engine
public void setEngine(Engine engine)
Specifies the engine (standard
or neural
) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Constraints:
Allowed Values: standard, neural
engine
-
Specifies the engine (standard
or
neural
) for Amazon Polly to use when processing
input text for speech synthesis. Using a voice that is not
supported for the engine selected will result in an error.
Engine
public SynthesisTask withEngine(Engine engine)
Specifies the engine (standard
or neural
) for
Amazon Polly to use when processing input text for speech synthesis.
Using a voice that is not supported for the engine selected will result
in an error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: standard, neural
engine
-
Specifies the engine (standard
or
neural
) for Amazon Polly to use when processing
input text for speech synthesis. Using a voice that is not
supported for the engine selected will result in an error.
Engine
public java.lang.String getTaskId()
The Amazon Polly generated identifier for a speech synthesis task.
Constraints:
Pattern: ^[a-zA-Z0-9_-]{1,100}$
The Amazon Polly generated identifier for a speech synthesis task.
public void setTaskId(java.lang.String taskId)
The Amazon Polly generated identifier for a speech synthesis task.
Constraints:
Pattern: ^[a-zA-Z0-9_-]{1,100}$
taskId
- The Amazon Polly generated identifier for a speech synthesis task.
public SynthesisTask withTaskId(java.lang.String taskId)
The Amazon Polly generated identifier for a speech synthesis task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^[a-zA-Z0-9_-]{1,100}$
taskId
- The Amazon Polly generated identifier for a speech synthesis task.
public java.lang.String getTaskStatus()
Current status of the individual speech synthesis task.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
Current status of the individual speech synthesis task.
TaskStatus
public void setTaskStatus(java.lang.String taskStatus)
Current status of the individual speech synthesis task.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
taskStatus
- Current status of the individual speech synthesis task.
TaskStatus
public SynthesisTask withTaskStatus(java.lang.String taskStatus)
Current status of the individual speech synthesis task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
taskStatus
- Current status of the individual speech synthesis task.
TaskStatus
public void setTaskStatus(TaskStatus taskStatus)
Current status of the individual speech synthesis task.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
taskStatus
- Current status of the individual speech synthesis task.
TaskStatus
public SynthesisTask withTaskStatus(TaskStatus taskStatus)
Current status of the individual speech synthesis task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
taskStatus
- Current status of the individual speech synthesis task.
TaskStatus
public java.lang.String getTaskStatusReason()
Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
public void setTaskStatusReason(java.lang.String taskStatusReason)
Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
taskStatusReason
- Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
public SynthesisTask withTaskStatusReason(java.lang.String taskStatusReason)
Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
Returns a reference to this object so that method calls can be chained together.
taskStatusReason
- Reason for the current status of a specific speech synthesis task, including errors if the task has failed.
public java.lang.String getOutputUri()
Pathway for the output speech file.
Pathway for the output speech file.
public void setOutputUri(java.lang.String outputUri)
Pathway for the output speech file.
outputUri
- Pathway for the output speech file.
public SynthesisTask withOutputUri(java.lang.String outputUri)
Pathway for the output speech file.
Returns a reference to this object so that method calls can be chained together.
outputUri
- Pathway for the output speech file.
public java.util.Date getCreationTime()
Timestamp for the time the synthesis task was started.
Timestamp for the time the synthesis task was started.
public void setCreationTime(java.util.Date creationTime)
Timestamp for the time the synthesis task was started.
creationTime
- Timestamp for the time the synthesis task was started.
public SynthesisTask withCreationTime(java.util.Date creationTime)
Timestamp for the time the synthesis task was started.
Returns a reference to this object so that method calls can be chained together.
creationTime
- Timestamp for the time the synthesis task was started.
public java.lang.Integer getRequestCharacters()
Number of billable characters synthesized.
Number of billable characters synthesized.
public void setRequestCharacters(java.lang.Integer requestCharacters)
Number of billable characters synthesized.
requestCharacters
- Number of billable characters synthesized.
public SynthesisTask withRequestCharacters(java.lang.Integer requestCharacters)
Number of billable characters synthesized.
Returns a reference to this object so that method calls can be chained together.
requestCharacters
- Number of billable characters synthesized.
public java.lang.String getSnsTopicArn()
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
Constraints:
Pattern: ^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-
9_-]{1,50}:\d{12}:[a-zA-Z0-9_-]{1,256}$
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
public void setSnsTopicArn(java.lang.String snsTopicArn)
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
Constraints:
Pattern: ^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-
9_-]{1,50}:\d{12}:[a-zA-Z0-9_-]{1,256}$
snsTopicArn
- ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
public SynthesisTask withSnsTopicArn(java.lang.String snsTopicArn)
ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-
9_-]{1,50}:\d{12}:[a-zA-Z0-9_-]{1,256}$
snsTopicArn
- ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.
public java.util.List<java.lang.String> getLexiconNames()
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
public void setLexiconNames(java.util.Collection<java.lang.String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
lexiconNames
- List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
public SynthesisTask withLexiconNames(java.lang.String... lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
Returns a reference to this object so that method calls can be chained together.
lexiconNames
- List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
public SynthesisTask withLexiconNames(java.util.Collection<java.lang.String> lexiconNames)
List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
Returns a reference to this object so that method calls can be chained together.
lexiconNames
- List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.
public java.lang.String getOutputFormat()
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
OutputFormat
public void setOutputFormat(java.lang.String outputFormat)
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
outputFormat
- The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
OutputFormat
public SynthesisTask withOutputFormat(java.lang.String outputFormat)
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
outputFormat
- The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
OutputFormat
public void setOutputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
outputFormat
- The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
OutputFormat
public SynthesisTask withOutputFormat(OutputFormat outputFormat)
The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: json, mp3, ogg_vorbis, pcm
outputFormat
- The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.
OutputFormat
public java.lang.String getSampleRate()
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
public void setSampleRate(java.lang.String sampleRate)
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
sampleRate
- The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
public SynthesisTask withSampleRate(java.lang.String sampleRate)
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
Returns a reference to this object so that method calls can be chained together.
sampleRate
- The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
public java.util.List<java.lang.String> getSpeechMarkTypes()
The type of speech marks returned for the input text.
The type of speech marks returned for the input text.
public void setSpeechMarkTypes(java.util.Collection<java.lang.String> speechMarkTypes)
The type of speech marks returned for the input text.
speechMarkTypes
- The type of speech marks returned for the input text.
public SynthesisTask withSpeechMarkTypes(java.lang.String... speechMarkTypes)
The type of speech marks returned for the input text.
Returns a reference to this object so that method calls can be chained together.
speechMarkTypes
- The type of speech marks returned for the input text.
public SynthesisTask withSpeechMarkTypes(java.util.Collection<java.lang.String> speechMarkTypes)
The type of speech marks returned for the input text.
Returns a reference to this object so that method calls can be chained together.
speechMarkTypes
- The type of speech marks returned for the input text.
public java.lang.String getTextType()
Specifies whether the input text is plain text or SSML. The default value is plain text.
Constraints:
Allowed Values: ssml, text
Specifies whether the input text is plain text or SSML. The default value is plain text.
TextType
public void setTextType(java.lang.String textType)
Specifies whether the input text is plain text or SSML. The default value is plain text.
Constraints:
Allowed Values: ssml, text
textType
- Specifies whether the input text is plain text or SSML. The default value is plain text.
TextType
public SynthesisTask withTextType(java.lang.String textType)
Specifies whether the input text is plain text or SSML. The default value is plain text.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ssml, text
textType
- Specifies whether the input text is plain text or SSML. The default value is plain text.
TextType
public void setTextType(TextType textType)
Specifies whether the input text is plain text or SSML. The default value is plain text.
Constraints:
Allowed Values: ssml, text
textType
- Specifies whether the input text is plain text or SSML. The default value is plain text.
TextType
public SynthesisTask withTextType(TextType textType)
Specifies whether the input text is plain text or SSML. The default value is plain text.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ssml, text
textType
- Specifies whether the input text is plain text or SSML. The default value is plain text.
TextType
public java.lang.String getVoiceId()
Voice ID to use for the synthesis.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna,
Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte, Lucia,
Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki,
Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell, Salli,
Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
Voice ID to use for the synthesis.
VoiceId
public void setVoiceId(java.lang.String voiceId)
Voice ID to use for the synthesis.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna,
Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte, Lucia,
Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki,
Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell, Salli,
Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
voiceId
- Voice ID to use for the synthesis.
VoiceId
public SynthesisTask withVoiceId(java.lang.String voiceId)
Voice ID to use for the synthesis.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna,
Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte, Lucia,
Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki,
Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell, Salli,
Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
voiceId
- Voice ID to use for the synthesis.
VoiceId
public void setVoiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna,
Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte, Lucia,
Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki,
Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell, Salli,
Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
voiceId
- Voice ID to use for the synthesis.
VoiceId
public SynthesisTask withVoiceId(VoiceId voiceId)
Voice ID to use for the synthesis.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Aditi, Amy, Astrid, Bianca, Brian, Camila, Carla,
Carmen, Celine, Chantal, Conchita, Cristiano, Dora, Emma, Enrique, Ewa,
Filiz, Geraint, Giorgio, Gwyneth, Hans, Ines, Ivy, Jacek, Jan, Joanna,
Joey, Justin, Karl, Kendra, Kevin, Kimberly, Lea, Liv, Lotte, Lucia,
Lupe, Mads, Maja, Marlene, Mathieu, Matthew, Maxim, Mia, Miguel, Mizuki,
Naja, Nicole, Olivia, Penelope, Raveena, Ricardo, Ruben, Russell, Salli,
Seoyeon, Takumi, Tatyana, Vicki, Vitoria, Zeina, Zhiyu
voiceId
- Voice ID to use for the synthesis.
VoiceId
public java.lang.String getLanguageCode()
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly will use the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified,
Amazon Polly will use the default language of the bilingual
voice. The default language for any voice is the one returned by
the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi
will use Indian English rather than Hindi.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly will use the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR
languageCode
- Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is
specified, Amazon Polly will use the default language of the
bilingual voice. The default language for any voice is the one
returned by the DescribeVoices operation for the
LanguageCode
parameter. For example, if no
language code is specified, Aditi will use Indian English
rather than Hindi.
LanguageCode
public SynthesisTask withLanguageCode(java.lang.String languageCode)
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly will use the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR
languageCode
- Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is
specified, Amazon Polly will use the default language of the
bilingual voice. The default language for any voice is the one
returned by the DescribeVoices operation for the
LanguageCode
parameter. For example, if no
language code is specified, Aditi will use Indian English
rather than Hindi.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly will use the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR
languageCode
- Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is
specified, Amazon Polly will use the default language of the
bilingual voice. The default language for any voice is the one
returned by the DescribeVoices operation for the
LanguageCode
parameter. For example, if no
language code is specified, Aditi will use Indian English
rather than Hindi.
LanguageCode
public SynthesisTask withLanguageCode(LanguageCode languageCode)
Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is specified, Amazon
Polly will use the default language of the bilingual voice. The default
language for any voice is the one returned by the DescribeVoices operation for the LanguageCode
parameter. For example, if no language code is specified, Aditi will use
Indian English rather than Hindi.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
sv-SE, tr-TR
languageCode
- Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).
If a bilingual voice is used and no language code is
specified, Amazon Polly will use the default language of the
bilingual voice. The default language for any voice is the one
returned by the DescribeVoices operation for the
LanguageCode
parameter. For example, if no
language code is specified, Aditi will use Indian English
rather than Hindi.
LanguageCode
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.