Class DeleteGrammarOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public DeleteGrammarOptions.Builder grammarName​(String grammarName)
      Set the grammarName.
      Parameters:
      grammarName - the grammarName
      Returns:
      the DeleteGrammarOptions builder