Class GetPronunciationOptions.Builder
java.lang.Object
com.ibm.watson.text_to_speech.v1.model.GetPronunciationOptions.Builder
- Enclosing class:
- GetPronunciationOptions
public static class GetPronunciationOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetPronunciationOptionsbuild()Builds a GetPronunciationOptions.GetPronunciationOptions.BuildercustomizationId(String customizationId)Set the customizationId.GetPronunciationOptions.Builderformat(String format)Set the format.GetPronunciationOptions.Buildertext(String text)Set the text.GetPronunciationOptions.Buildervoice(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 GetPronunciationOptions.- Returns:
- the new GetPronunciationOptions instance
-
text
Set the text.- Parameters:
text- the text- Returns:
- the GetPronunciationOptions builder
-
voice
Set the voice.- Parameters:
voice- the voice- Returns:
- the GetPronunciationOptions builder
-
format
Set the format.- Parameters:
format- the format- Returns:
- the GetPronunciationOptions builder
-
customizationId
Set the customizationId.- Parameters:
customizationId- the customizationId- Returns:
- the GetPronunciationOptions builder
-