public static class SynthesizeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
SynthesizeOptions.Builder()
Instantiates a new builder.
|
SynthesizeOptions.Builder(java.lang.String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
SynthesizeOptions.Builder |
accept(java.lang.String accept)
Set the accept.
|
SynthesizeOptions |
build()
Builds a SynthesizeOptions.
|
SynthesizeOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
SynthesizeOptions.Builder |
text(java.lang.String text)
Set the text.
|
SynthesizeOptions.Builder |
timings(java.util.List<java.lang.String> timings)
Set the timings.
|
SynthesizeOptions.Builder |
voice(java.lang.String voice)
Set the voice.
|
public SynthesizeOptions.Builder()
public SynthesizeOptions.Builder(java.lang.String text)
text
- the textpublic SynthesizeOptions build()
public SynthesizeOptions.Builder text(java.lang.String text)
text
- the textpublic SynthesizeOptions.Builder accept(java.lang.String accept)
accept
- the acceptpublic SynthesizeOptions.Builder voice(java.lang.String voice)
voice
- the voicepublic SynthesizeOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationIdpublic SynthesizeOptions.Builder timings(java.util.List<java.lang.String> timings)
timings
- the timings