@Generated(value="software.amazon.awssdk:codegen") public final class VoiceSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VoiceSettings.Builder,VoiceSettings>
Defines settings for using an Amazon Polly voice to communicate with a user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VoiceSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VoiceSettings.Builder |
builder() |
VoiceEngine |
engine()
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
|
String |
engineAsString()
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VoiceSettings.Builder> |
serializableBuilderClass() |
VoiceSettings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
voiceId()
The identifier of the Amazon Polly voice to use.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String voiceId()
The identifier of the Amazon Polly voice to use.
public final 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.
If the service returns an enum value that is not available in the current SDK version, engine will
return VoiceEngine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
engineAsString().
engine parameter of the SynthesizeSpeech operation in the Amazon Polly
developer guide.
If you do not specify a value, the default is standard.
VoiceEnginepublic final String engineAsString()
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.
If the service returns an enum value that is not available in the current SDK version, engine will
return VoiceEngine.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
engineAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VoiceSettings.Builder,VoiceSettings>public static VoiceSettings.Builder builder()
public static Class<? extends VoiceSettings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.