@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.Gender
public String getGender()
Gender of the voice.
Gender
public Voice withGender(String gender)
Gender of the voice.
gender
- Gender of the voice.Gender
public void setGender(Gender gender)
Gender of the voice.
gender
- Gender of the voice.Gender
public Voice withGender(Gender gender)
Gender of the voice.
gender
- Gender of the voice.Gender
public 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.VoiceId
public String getId()
Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
operation.
SynthesizeSpeech
operation.VoiceId
public 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.VoiceId
public 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.VoiceId
public 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.VoiceId
public void setLanguageCode(String languageCode)
Language code of the voice.
languageCode
- Language code of the voice.LanguageCode
public String getLanguageCode()
Language code of the voice.
LanguageCode
public Voice withLanguageCode(String languageCode)
Language code of the voice.
languageCode
- Language code of the voice.LanguageCode
public void setLanguageCode(LanguageCode languageCode)
Language code of the voice.
languageCode
- Language code of the voice.LanguageCode
public Voice withLanguageCode(LanguageCode languageCode)
Language code of the voice.
languageCode
- Language code of the voice.LanguageCode
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.