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 element to be addedpublic UpdateWorkspaceAsyncOptions.Builder addCounterexample(Counterexample counterexample)
counterexample
- the new element to be addedpublic UpdateWorkspaceAsyncOptions.Builder addWebhooks(Webhook webhooks)
webhooks
- the new element to be addedpublic UpdateWorkspaceAsyncOptions.Builder addIntent(CreateIntent intent)
intent
- the new element to be addedpublic UpdateWorkspaceAsyncOptions.Builder addEntity(CreateEntity entity)
entity
- the new element to be addedpublic 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 © 2024 IBM Cloud. All rights reserved.