Class DeleteWordOptions.Builder

java.lang.Object
com.ibm.watson.speech_to_text.v1.model.DeleteWordOptions.Builder
Enclosing class:
DeleteWordOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public DeleteWordOptions.Builder wordName​(String wordName)
      Set the wordName.
      Parameters:
      wordName - the wordName
      Returns:
      the DeleteWordOptions builder