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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String customizationId, String promptId)
      Instantiates a new builder with required properties.
      Parameters:
      customizationId - the customizationId
      promptId - the promptId
  • Method Details

    • build

      public GetCustomPromptOptions build()
      Builds a GetCustomPromptOptions.
      Returns:
      the new GetCustomPromptOptions instance
    • customizationId

      public GetCustomPromptOptions.Builder customizationId​(String customizationId)
      Set the customizationId.
      Parameters:
      customizationId - the customizationId
      Returns:
      the GetCustomPromptOptions builder
    • promptId

      public GetCustomPromptOptions.Builder promptId​(String promptId)
      Set the promptId.
      Parameters:
      promptId - the promptId
      Returns:
      the GetCustomPromptOptions builder