Class GetCustomPromptOptions.Builder
java.lang.Object
com.ibm.watson.text_to_speech.v1.model.GetCustomPromptOptions.Builder
- Enclosing class:
- GetCustomPromptOptions
public static class GetCustomPromptOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetCustomPromptOptions
build()
Builds a GetCustomPromptOptions.GetCustomPromptOptions.Builder
customizationId(String customizationId)
Set the customizationId.GetCustomPromptOptions.Builder
promptId(String promptId)
Set the promptId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
customizationId
- the customizationIdpromptId
- the promptId
-
-
Method Details
-
build
Builds a GetCustomPromptOptions.- Returns:
- the new GetCustomPromptOptions instance
-
customizationId
Set the customizationId.- Parameters:
customizationId
- the customizationId- Returns:
- the GetCustomPromptOptions builder
-
promptId
Set the promptId.- Parameters:
promptId
- the promptId- Returns:
- the GetCustomPromptOptions builder
-