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