Class GetWordOptions.Builder

java.lang.Object
com.ibm.watson.text_to_speech.v1.model.GetWordOptions.Builder
Enclosing class:
GetWordOptions

public static class GetWordOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public GetWordOptions.Builder word​(String word)
      Set the word.
      Parameters:
      word - the word
      Returns:
      the GetWordOptions builder