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.Builder
alternateIntents(Boolean alternateIntents)
Set the alternateIntents.MessageInputOptions
build()
Builds a MessageInputOptions.MessageInputOptions.Builder
debug(Boolean debug)
Set the debug.MessageInputOptions.Builder
export(Boolean export)
Set the export.MessageInputOptions.Builder
restart(Boolean restart)
Set the restart.MessageInputOptions.Builder
returnContext(Boolean returnContext)
Set the returnContext.MessageInputOptions.Builder
spelling(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
-