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