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 GetPronunciationOptions
build()
Builds a GetPronunciationOptions.GetPronunciationOptions.Builder
customizationId(String customizationId)
Set the customizationId.GetPronunciationOptions.Builder
format(String format)
Set the format.GetPronunciationOptions.Builder
text(String text)
Set the text.GetPronunciationOptions.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 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
-