public static class UpdateWorkspaceOptions.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 UpdateWorkspaceOptions build()
public UpdateWorkspaceOptions.Builder addDialogNode(DialogNode dialogNode)
dialogNode - the new dialogNodepublic UpdateWorkspaceOptions.Builder addCounterexample(Counterexample counterexample)
counterexample - the new counterexamplepublic UpdateWorkspaceOptions.Builder addWebhooks(Webhook webhooks)
webhooks - the new webhookspublic UpdateWorkspaceOptions.Builder addIntent(CreateIntent intent)
intent - the new intentpublic UpdateWorkspaceOptions.Builder addEntity(CreateEntity entity)
entity - the new entitypublic UpdateWorkspaceOptions.Builder workspaceId(String workspaceId)
workspaceId - the workspaceIdpublic UpdateWorkspaceOptions.Builder name(String name)
name - the namepublic UpdateWorkspaceOptions.Builder description(String description)
description - the descriptionpublic UpdateWorkspaceOptions.Builder language(String language)
language - the languagepublic UpdateWorkspaceOptions.Builder dialogNodes(List<DialogNode> dialogNodes)
dialogNodes - the dialogNodespublic UpdateWorkspaceOptions.Builder counterexamples(List<Counterexample> counterexamples)
counterexamples - the counterexamplespublic UpdateWorkspaceOptions.Builder metadata(Map<String,Object> metadata)
metadata - the metadatapublic UpdateWorkspaceOptions.Builder learningOptOut(Boolean learningOptOut)
learningOptOut - the learningOptOutpublic UpdateWorkspaceOptions.Builder systemSettings(WorkspaceSystemSettings systemSettings)
systemSettings - the systemSettingspublic UpdateWorkspaceOptions.Builder webhooks(List<Webhook> webhooks)
webhooks - the webhookspublic UpdateWorkspaceOptions.Builder intents(List<CreateIntent> intents)
intents - the intentspublic UpdateWorkspaceOptions.Builder entities(List<CreateEntity> entities)
entities - the entitiespublic UpdateWorkspaceOptions.Builder append(Boolean append)
append - the appendpublic UpdateWorkspaceOptions.Builder includeAudit(Boolean includeAudit)
includeAudit - the includeAuditCopyright © 2022 IBM Cloud. All rights reserved.