@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 |
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 |
setVoiceId(String voiceId)
The identifier of the Amazon Polly voice to use.
|
String |
toString()
Returns a string representation of this object.
|
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 String toString()
toString
in class Object
Object.toString()
public VoiceSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.