public static class SynthesizeOptions.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 |
---|---|
SynthesizeOptions.Builder |
accept(String accept)
Set the accept.
|
SynthesizeOptions |
build()
Builds a SynthesizeOptions.
|
SynthesizeOptions.Builder |
customizationId(String customizationId)
Set the customizationId.
|
SynthesizeOptions.Builder |
text(String text)
Set the text.
|
SynthesizeOptions.Builder |
timings(List<String> timings)
Set the timings.
|
SynthesizeOptions.Builder |
voice(String voice)
Set the voice.
|
public Builder()
public Builder(String text)
text
- the textpublic SynthesizeOptions build()
public SynthesizeOptions.Builder text(String text)
text
- the textpublic SynthesizeOptions.Builder accept(String accept)
accept
- the acceptpublic SynthesizeOptions.Builder voice(String voice)
voice
- the voicepublic SynthesizeOptions.Builder customizationId(String customizationId)
customizationId
- the customizationIdpublic SynthesizeOptions.Builder timings(List<String> timings)
timings
- the timingsCopyright © 2021 IBM Cloud. All rights reserved.