Class MessageInputOptionsSpelling.Builder

java.lang.Object
com.ibm.watson.assistant.v2.model.MessageInputOptionsSpelling.Builder
Enclosing class:
MessageInputOptionsSpelling

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

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      Builds a MessageInputOptionsSpelling.
      Returns:
      the new MessageInputOptionsSpelling instance
    • suggestions

      public MessageInputOptionsSpelling.Builder suggestions​(Boolean suggestions)
      Set the suggestions.
      Parameters:
      suggestions - the suggestions
      Returns:
      the MessageInputOptionsSpelling builder
    • autoCorrect

      public MessageInputOptionsSpelling.Builder autoCorrect​(Boolean autoCorrect)
      Set the autoCorrect.
      Parameters:
      autoCorrect - the autoCorrect
      Returns:
      the MessageInputOptionsSpelling builder