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