public static class UpdateWorkspaceOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateWorkspaceOptions.Builder()
Instantiates a new builder.
|
UpdateWorkspaceOptions.Builder(java.lang.String workspaceId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateWorkspaceOptions.Builder |
addCounterexample(Counterexample counterexample)
Adds an counterexample to counterexamples.
|
UpdateWorkspaceOptions.Builder |
addDialogNode(DialogNode dialogNode)
Adds an dialogNode to dialogNodes.
|
UpdateWorkspaceOptions.Builder |
addEntity(CreateEntity entity)
Adds an entity to entities.
|
UpdateWorkspaceOptions.Builder |
addIntent(CreateIntent intent)
Adds an intent to intents.
|
UpdateWorkspaceOptions.Builder |
addWebhooks(Webhook webhooks)
Adds an webhooks to webhooks.
|
UpdateWorkspaceOptions.Builder |
append(java.lang.Boolean append)
Set the append.
|
UpdateWorkspaceOptions |
build()
Builds a UpdateWorkspaceOptions.
|
UpdateWorkspaceOptions.Builder |
counterexamples(java.util.List<Counterexample> counterexamples)
Set the counterexamples.
|
UpdateWorkspaceOptions.Builder |
description(java.lang.String description)
Set the description.
|
UpdateWorkspaceOptions.Builder |
dialogNodes(java.util.List<DialogNode> dialogNodes)
Set the dialogNodes.
|
UpdateWorkspaceOptions.Builder |
entities(java.util.List<CreateEntity> entities)
Set the entities.
|
UpdateWorkspaceOptions.Builder |
includeAudit(java.lang.Boolean includeAudit)
Set the includeAudit.
|
UpdateWorkspaceOptions.Builder |
intents(java.util.List<CreateIntent> intents)
Set the intents.
|
UpdateWorkspaceOptions.Builder |
language(java.lang.String language)
Set the language.
|
UpdateWorkspaceOptions.Builder |
learningOptOut(java.lang.Boolean learningOptOut)
Set the learningOptOut.
|
UpdateWorkspaceOptions.Builder |
metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Set the metadata.
|
UpdateWorkspaceOptions.Builder |
name(java.lang.String name)
Set the name.
|
UpdateWorkspaceOptions.Builder |
systemSettings(WorkspaceSystemSettings systemSettings)
Set the systemSettings.
|
UpdateWorkspaceOptions.Builder |
webhooks(java.util.List<Webhook> webhooks)
Set the webhooks.
|
UpdateWorkspaceOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public UpdateWorkspaceOptions.Builder()
public UpdateWorkspaceOptions.Builder(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateWorkspaceOptions build()
public UpdateWorkspaceOptions.Builder addIntent(CreateIntent intent)
intent
- the new intentpublic UpdateWorkspaceOptions.Builder addEntity(CreateEntity entity)
entity
- the new entitypublic UpdateWorkspaceOptions.Builder addDialogNode(DialogNode dialogNode)
dialogNode
- the new dialogNodepublic UpdateWorkspaceOptions.Builder addCounterexample(Counterexample counterexample)
counterexample
- the new counterexamplepublic UpdateWorkspaceOptions.Builder addWebhooks(Webhook webhooks)
webhooks
- the new webhookspublic UpdateWorkspaceOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateWorkspaceOptions.Builder name(java.lang.String name)
name
- the namepublic UpdateWorkspaceOptions.Builder description(java.lang.String description)
description
- the descriptionpublic UpdateWorkspaceOptions.Builder language(java.lang.String language)
language
- the languagepublic UpdateWorkspaceOptions.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
metadata
- the metadatapublic UpdateWorkspaceOptions.Builder learningOptOut(java.lang.Boolean learningOptOut)
learningOptOut
- the learningOptOutpublic UpdateWorkspaceOptions.Builder systemSettings(WorkspaceSystemSettings systemSettings)
systemSettings
- the systemSettingspublic UpdateWorkspaceOptions.Builder intents(java.util.List<CreateIntent> intents)
intents
- the intentspublic UpdateWorkspaceOptions.Builder entities(java.util.List<CreateEntity> entities)
entities
- the entitiespublic UpdateWorkspaceOptions.Builder dialogNodes(java.util.List<DialogNode> dialogNodes)
dialogNodes
- the dialogNodespublic UpdateWorkspaceOptions.Builder counterexamples(java.util.List<Counterexample> counterexamples)
counterexamples
- the counterexamplespublic UpdateWorkspaceOptions.Builder webhooks(java.util.List<Webhook> webhooks)
webhooks
- the webhookspublic UpdateWorkspaceOptions.Builder append(java.lang.Boolean append)
append
- the appendpublic UpdateWorkspaceOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit
- the includeAudit