@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VoiceSettings extends Object implements Serializable, Cloneable, StructuredPojo
Defines settings for using an Amazon Polly voice to communicate with a user.
| Constructor and Description |
|---|
VoiceSettings() |
| Modifier and Type | Method and Description |
|---|---|
VoiceSettings |
clone() |
boolean |
equals(Object obj) |
String |
getEngine()
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
|
String |
getVoiceId()
The identifier of the Amazon Polly voice to use.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEngine(String engine)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
|
void |
setVoiceId(String voiceId)
The identifier of the Amazon Polly voice to use.
|
String |
toString()
Returns a string representation of this object.
|
VoiceSettings |
withEngine(String engine)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
|
VoiceSettings |
withEngine(VoiceEngine engine)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
|
VoiceSettings |
withVoiceId(String voiceId)
The identifier of the Amazon Polly voice to use.
|
public void setVoiceId(String voiceId)
The identifier of the Amazon Polly voice to use.
voiceId - The identifier of the Amazon Polly voice to use.public String getVoiceId()
The identifier of the Amazon Polly voice to use.
public VoiceSettings withVoiceId(String voiceId)
The identifier of the Amazon Polly voice to use.
voiceId - The identifier of the Amazon Polly voice to use.public void setEngine(String engine)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more
information, see the
engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer
guide.
If you do not specify a value, the default is standard.
engine - Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly
developer guide.
If you do not specify a value, the default is standard.
VoiceEnginepublic String getEngine()
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more
information, see the
engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer
guide.
If you do not specify a value, the default is standard.
engine parameter of the SynthesizeSpeech operation in the Amazon Polly
developer guide.
If you do not specify a value, the default is standard.
VoiceEnginepublic VoiceSettings withEngine(String engine)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more
information, see the
engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer
guide.
If you do not specify a value, the default is standard.
engine - Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly
developer guide.
If you do not specify a value, the default is standard.
VoiceEnginepublic VoiceSettings withEngine(VoiceEngine engine)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more
information, see the
engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer
guide.
If you do not specify a value, the default is standard.
engine - Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly
developer guide.
If you do not specify a value, the default is standard.
VoiceEnginepublic String toString()
toString in class ObjectObject.toString()public VoiceSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.