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