Class SynthesizeOptions.Builder
java.lang.Object
com.ibm.watson.text_to_speech.v1.model.SynthesizeOptions.Builder
- Enclosing class:
- SynthesizeOptions
public static class SynthesizeOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
text
- the text
-
-
Method Details
-
build
Builds a SynthesizeOptions.- Returns:
- the new SynthesizeOptions instance
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the SynthesizeOptions builder
-
accept
Set the accept.- Parameters:
accept
- the accept- Returns:
- the SynthesizeOptions builder
-
voice
Set the voice.- Parameters:
voice
- the voice- Returns:
- the SynthesizeOptions builder
-
customizationId
Set the customizationId.- Parameters:
customizationId
- the customizationId- Returns:
- the SynthesizeOptions builder
-
timings
Set the timings.- Parameters:
timings
- the timings- Returns:
- the SynthesizeOptions builder
-