Class CreateWorkspaceOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.CreateWorkspaceOptions.Builder
- Enclosing class:
- CreateWorkspaceOptions
public static class CreateWorkspaceOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a CreateWorkspaceOptions.- Returns:
- the new CreateWorkspaceOptions instance
-
addDialogNode
Adds an dialogNode to dialogNodes.- Parameters:
dialogNode
- the new dialogNode- Returns:
- the CreateWorkspaceOptions builder
-
addCounterexample
Adds an counterexample to counterexamples.- Parameters:
counterexample
- the new counterexample- Returns:
- the CreateWorkspaceOptions builder
-
addWebhooks
Adds an webhooks to webhooks.- Parameters:
webhooks
- the new webhooks- Returns:
- the CreateWorkspaceOptions builder
-
addIntent
Adds an intent to intents.- Parameters:
intent
- the new intent- Returns:
- the CreateWorkspaceOptions builder
-
addEntity
Adds an entity to entities.- Parameters:
entity
- the new entity- Returns:
- the CreateWorkspaceOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateWorkspaceOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the CreateWorkspaceOptions builder
-
language
Set the language.- Parameters:
language
- the language- Returns:
- the CreateWorkspaceOptions builder
-
dialogNodes
Set the dialogNodes. Existing dialogNodes will be replaced.- Parameters:
dialogNodes
- the dialogNodes- Returns:
- the CreateWorkspaceOptions builder
-
counterexamples
Set the counterexamples. Existing counterexamples will be replaced.- Parameters:
counterexamples
- the counterexamples- Returns:
- the CreateWorkspaceOptions builder
-
metadata
Set the metadata.- Parameters:
metadata
- the metadata- Returns:
- the CreateWorkspaceOptions builder
-
learningOptOut
Set the learningOptOut.- Parameters:
learningOptOut
- the learningOptOut- Returns:
- the CreateWorkspaceOptions builder
-
systemSettings
Set the systemSettings.- Parameters:
systemSettings
- the systemSettings- Returns:
- the CreateWorkspaceOptions builder
-
webhooks
Set the webhooks. Existing webhooks will be replaced.- Parameters:
webhooks
- the webhooks- Returns:
- the CreateWorkspaceOptions builder
-
intents
Set the intents. Existing intents will be replaced.- Parameters:
intents
- the intents- Returns:
- the CreateWorkspaceOptions builder
-
entities
Set the entities. Existing entities will be replaced.- Parameters:
entities
- the entities- Returns:
- the CreateWorkspaceOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the CreateWorkspaceOptions builder
-