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