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