public static class UpdateWorkspace.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
UpdateWorkspace |
build()
Builds a UpdateWorkspace.
|
UpdateWorkspace.Builder |
counterexamples(CreateExample counterexample)
Adds an counterexample to counterexamples.
|
UpdateWorkspace.Builder |
counterexamples(java.util.List<CreateExample> counterexamples)
Set the counterexamples.
|
UpdateWorkspace.Builder |
description(java.lang.String description)
Set the description.
|
UpdateWorkspace.Builder |
dialogNodes(CreateDialogNode dialogNode)
Adds an dialogNode to dialogNodes.
|
UpdateWorkspace.Builder |
dialogNodes(java.util.List<CreateDialogNode> dialogNodes)
Set the dialogNodes.
|
UpdateWorkspace.Builder |
entities(CreateEntity entity)
Adds an entity to entities.
|
UpdateWorkspace.Builder |
entities(java.util.List<CreateEntity> entities)
Set the entities.
|
UpdateWorkspace.Builder |
intents(CreateIntent intent)
Adds an intent to intents.
|
UpdateWorkspace.Builder |
intents(java.util.List<CreateIntent> intents)
Set the intents.
|
UpdateWorkspace.Builder |
language(java.lang.String language)
Set the language.
|
UpdateWorkspace.Builder |
metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Set the metadata.
|
UpdateWorkspace.Builder |
name(java.lang.String name)
Set the name.
|
public UpdateWorkspace build()
public UpdateWorkspace.Builder intents(CreateIntent intent)
intent
- the new intentpublic UpdateWorkspace.Builder entities(CreateEntity entity)
entity
- the new entitypublic UpdateWorkspace.Builder dialogNodes(CreateDialogNode dialogNode)
dialogNode
- the new dialogNodepublic UpdateWorkspace.Builder counterexamples(CreateExample counterexample)
counterexample
- the new counterexamplepublic UpdateWorkspace.Builder name(java.lang.String name)
name
- the namepublic UpdateWorkspace.Builder description(java.lang.String description)
description
- the descriptionpublic UpdateWorkspace.Builder language(java.lang.String language)
language
- the languagepublic UpdateWorkspace.Builder intents(java.util.List<CreateIntent> intents)
intents
- the intentspublic UpdateWorkspace.Builder entities(java.util.List<CreateEntity> entities)
entities
- the entitiespublic UpdateWorkspace.Builder dialogNodes(java.util.List<CreateDialogNode> dialogNodes)
dialogNodes
- the dialogNodespublic UpdateWorkspace.Builder counterexamples(java.util.List<CreateExample> counterexamples)
counterexamples
- the counterexamplespublic UpdateWorkspace.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
metadata
- the metadata