public static class GetVoiceOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String voice)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetVoiceOptions |
build()
Builds a GetVoiceOptions.
|
GetVoiceOptions.Builder |
customizationId(String customizationId)
Set the customizationId.
|
GetVoiceOptions.Builder |
voice(String voice)
Set the voice.
|
public Builder()
public Builder(String voice)
voice
- the voicepublic GetVoiceOptions build()
public GetVoiceOptions.Builder voice(String voice)
voice
- the voicepublic GetVoiceOptions.Builder customizationId(String customizationId)
customizationId
- the customizationIdCopyright © 2024 IBM Cloud. All rights reserved.