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.BuilderautoCorrect(Boolean autoCorrect)Set the autoCorrect.MessageInputOptionsSpellingbuild()Builds a MessageInputOptionsSpelling.MessageInputOptionsSpelling.Buildersuggestions(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
 
 
 -