@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Voice extends Object implements Serializable, Cloneable, StructuredPojo
Description of the voice.
| Constructor and Description |
|---|
Voice() |
| Modifier and Type | Method and Description |
|---|---|
Voice |
clone() |
boolean |
equals(Object obj) |
String |
getGender()
Gender of the voice.
|
String |
getId()
Amazon Polly assigned voice ID.
|
String |
getLanguageCode()
Language code of the voice.
|
String |
getLanguageName()
Human readable name of the language in English.
|
String |
getName()
Name of the voice (for example, Salli, Kendra, etc.).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGender(Gender gender)
Gender of the voice.
|
void |
setGender(String gender)
Gender of the voice.
|
void |
setId(String id)
Amazon Polly assigned voice ID.
|
void |
setId(VoiceId id)
Amazon Polly assigned voice ID.
|
void |
setLanguageCode(LanguageCode languageCode)
Language code of the voice.
|
void |
setLanguageCode(String languageCode)
Language code of the voice.
|
void |
setLanguageName(String languageName)
Human readable name of the language in English.
|
void |
setName(String name)
Name of the voice (for example, Salli, Kendra, etc.).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Voice |
withGender(Gender gender)
Gender of the voice.
|
Voice |
withGender(String gender)
Gender of the voice.
|
Voice |
withId(String id)
Amazon Polly assigned voice ID.
|
Voice |
withId(VoiceId id)
Amazon Polly assigned voice ID.
|
Voice |
withLanguageCode(LanguageCode languageCode)
Language code of the voice.
|
Voice |
withLanguageCode(String languageCode)
Language code of the voice.
|
Voice |
withLanguageName(String languageName)
Human readable name of the language in English.
|
Voice |
withName(String name)
Name of the voice (for example, Salli, Kendra, etc.).
|
public void setGender(String gender)
Gender of the voice.
gender - Gender of the voice.Genderpublic String getGender()
Gender of the voice.
Genderpublic Voice withGender(String gender)
Gender of the voice.
gender - Gender of the voice.Genderpublic void setGender(Gender gender)
Gender of the voice.
gender - Gender of the voice.Genderpublic Voice withGender(Gender gender)
Gender of the voice.
gender - Gender of the voice.Genderpublic void setId(String id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
id - Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech operation.VoiceIdpublic String getId()
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
SynthesizeSpeech operation.VoiceIdpublic Voice withId(String id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
id - Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech operation.VoiceIdpublic void setId(VoiceId id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
id - Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech operation.VoiceIdpublic Voice withId(VoiceId id)
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
id - Amazon Polly assigned voice ID. This is the ID that you specify when calling the
SynthesizeSpeech operation.VoiceIdpublic void setLanguageCode(String languageCode)
Language code of the voice.
languageCode - Language code of the voice.LanguageCodepublic String getLanguageCode()
Language code of the voice.
LanguageCodepublic Voice withLanguageCode(String languageCode)
Language code of the voice.
languageCode - Language code of the voice.LanguageCodepublic void setLanguageCode(LanguageCode languageCode)
Language code of the voice.
languageCode - Language code of the voice.LanguageCodepublic Voice withLanguageCode(LanguageCode languageCode)
Language code of the voice.
languageCode - Language code of the voice.LanguageCodepublic void setLanguageName(String languageName)
Human readable name of the language in English.
languageName - Human readable name of the language in English.public String getLanguageName()
Human readable name of the language in English.
public Voice withLanguageName(String languageName)
Human readable name of the language in English.
languageName - Human readable name of the language in English.public void setName(String name)
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
name - Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you
might display in your application.public String getName()
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
public Voice withName(String name)
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
name - Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you
might display in your application.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.