Class MessageInputOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v2.model.MessageInputOptions.Builder
- Enclosing class:
- MessageInputOptions
public static class MessageInputOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description MessageInputOptions.BuilderalternateIntents(Boolean alternateIntents)Set the alternateIntents.MessageInputOptionsbuild()Builds a MessageInputOptions.MessageInputOptions.Builderdebug(Boolean debug)Set the debug.MessageInputOptions.Builderexport(Boolean export)Set the export.MessageInputOptions.Builderrestart(Boolean restart)Set the restart.MessageInputOptions.BuilderreturnContext(Boolean returnContext)Set the returnContext.MessageInputOptions.Builderspelling(MessageInputOptionsSpelling spelling)Set the spelling.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a MessageInputOptions.- Returns:
- the new MessageInputOptions instance
-
restart
Set the restart.- Parameters:
restart- the restart- Returns:
- the MessageInputOptions builder
-
alternateIntents
Set the alternateIntents.- Parameters:
alternateIntents- the alternateIntents- Returns:
- the MessageInputOptions builder
-
spelling
Set the spelling.- Parameters:
spelling- the spelling- Returns:
- the MessageInputOptions builder
-
debug
Set the debug.- Parameters:
debug- the debug- Returns:
- the MessageInputOptions builder
-
returnContext
Set the returnContext.- Parameters:
returnContext- the returnContext- Returns:
- the MessageInputOptions builder
-
export
Set the export.- Parameters:
export- the export- Returns:
- the MessageInputOptions builder
-