public static class GetVoiceOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String voice)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetVoiceOptions |
build()
Builds a GetVoiceOptions.
|
GetVoiceOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
GetVoiceOptions.Builder |
voice(java.lang.String voice)
Set the voice.
|
public Builder()
public Builder(java.lang.String voice)
voice
- the voicepublic GetVoiceOptions build()
public GetVoiceOptions.Builder voice(java.lang.String voice)
voice
- the voicepublic GetVoiceOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationId