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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description MessageInputOptionsSpelling.Builder
autoCorrect(Boolean autoCorrect)
Set the autoCorrect.MessageInputOptionsSpelling
build()
Builds a MessageInputOptionsSpelling.MessageInputOptionsSpelling.Builder
suggestions(Boolean suggestions)
Set the suggestions.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a MessageInputOptionsSpelling.- Returns:
- the new MessageInputOptionsSpelling instance
-
suggestions
Set the suggestions.- Parameters:
suggestions
- the suggestions- Returns:
- the MessageInputOptionsSpelling builder
-
autoCorrect
Set the autoCorrect.- Parameters:
autoCorrect
- the autoCorrect- Returns:
- the MessageInputOptionsSpelling builder
-