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(CreateCounterexample counterexample)
Adds an counterexample to counterexamples.
|
UpdateWorkspaceOptions.Builder |
addDialogNode(CreateDialogNode 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 |
append(java.lang.Boolean append)
Set the append.
|
UpdateWorkspaceOptions |
build()
Builds a UpdateWorkspaceOptions.
|
UpdateWorkspaceOptions.Builder |
counterexamples(java.util.List<CreateCounterexample> counterexamples)
Set the counterexamples.
|
UpdateWorkspaceOptions.Builder |
description(java.lang.String description)
Set the description.
|
UpdateWorkspaceOptions.Builder |
dialogNodes(java.util.List<CreateDialogNode> dialogNodes)
Set the dialogNodes.
|
UpdateWorkspaceOptions.Builder |
entities(java.util.List<CreateEntity> entities)
Set the entities.
|
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 metadata)
Set the metadata.
|
UpdateWorkspaceOptions.Builder |
name(java.lang.String name)
Set the name.
|
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(CreateDialogNode dialogNode)
dialogNode
- the new dialogNodepublic UpdateWorkspaceOptions.Builder addCounterexample(CreateCounterexample counterexample)
counterexample
- the new counterexamplepublic 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 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<CreateDialogNode> dialogNodes)
dialogNodes
- the dialogNodespublic UpdateWorkspaceOptions.Builder counterexamples(java.util.List<CreateCounterexample> counterexamples)
counterexamples
- the counterexamplespublic UpdateWorkspaceOptions.Builder metadata(java.util.Map metadata)
metadata
- the metadatapublic UpdateWorkspaceOptions.Builder learningOptOut(java.lang.Boolean learningOptOut)
learningOptOut
- the learningOptOutpublic UpdateWorkspaceOptions.Builder append(java.lang.Boolean append)
append
- the append