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