public static class CreateWorkspaceAsyncOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
public CreateWorkspaceAsyncOptions build()
public CreateWorkspaceAsyncOptions.Builder addDialogNode(DialogNode dialogNode)
dialogNode
- the new dialogNodepublic CreateWorkspaceAsyncOptions.Builder addCounterexample(Counterexample counterexample)
counterexample
- the new counterexamplepublic CreateWorkspaceAsyncOptions.Builder addWebhooks(Webhook webhooks)
webhooks
- the new webhookspublic CreateWorkspaceAsyncOptions.Builder addIntent(CreateIntent intent)
intent
- the new intentpublic CreateWorkspaceAsyncOptions.Builder addEntity(CreateEntity entity)
entity
- the new entitypublic CreateWorkspaceAsyncOptions.Builder name(String name)
name
- the namepublic CreateWorkspaceAsyncOptions.Builder description(String description)
description
- the descriptionpublic CreateWorkspaceAsyncOptions.Builder language(String language)
language
- the languagepublic CreateWorkspaceAsyncOptions.Builder dialogNodes(List<DialogNode> dialogNodes)
dialogNodes
- the dialogNodespublic CreateWorkspaceAsyncOptions.Builder counterexamples(List<Counterexample> counterexamples)
counterexamples
- the counterexamplespublic CreateWorkspaceAsyncOptions.Builder metadata(Map<String,Object> metadata)
metadata
- the metadatapublic CreateWorkspaceAsyncOptions.Builder learningOptOut(Boolean learningOptOut)
learningOptOut
- the learningOptOutpublic CreateWorkspaceAsyncOptions.Builder systemSettings(WorkspaceSystemSettings systemSettings)
systemSettings
- the systemSettingspublic CreateWorkspaceAsyncOptions.Builder webhooks(List<Webhook> webhooks)
webhooks
- the webhookspublic CreateWorkspaceAsyncOptions.Builder intents(List<CreateIntent> intents)
intents
- the intentspublic CreateWorkspaceAsyncOptions.Builder entities(List<CreateEntity> entities)
entities
- the entitiesCopyright © 2022 IBM Cloud. All rights reserved.