public static class CreateDialogNodeOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId,
String dialogNode)
Instantiates a new builder with required properties.
|
public CreateDialogNodeOptions build()
public CreateDialogNodeOptions.Builder addActions(DialogNodeAction actions)
actions
- the new actionspublic CreateDialogNodeOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic CreateDialogNodeOptions.Builder dialogNode(String dialogNode)
dialogNode
- the dialogNodepublic CreateDialogNodeOptions.Builder description(String description)
description
- the descriptionpublic CreateDialogNodeOptions.Builder conditions(String conditions)
conditions
- the conditionspublic CreateDialogNodeOptions.Builder parent(String parent)
parent
- the parentpublic CreateDialogNodeOptions.Builder previousSibling(String previousSibling)
previousSibling
- the previousSiblingpublic CreateDialogNodeOptions.Builder output(DialogNodeOutput output)
output
- the outputpublic CreateDialogNodeOptions.Builder context(DialogNodeContext context)
context
- the contextpublic CreateDialogNodeOptions.Builder metadata(Map<String,Object> metadata)
metadata
- the metadatapublic CreateDialogNodeOptions.Builder nextStep(DialogNodeNextStep nextStep)
nextStep
- the nextSteppublic CreateDialogNodeOptions.Builder title(String title)
title
- the titlepublic CreateDialogNodeOptions.Builder type(String type)
type
- the typepublic CreateDialogNodeOptions.Builder eventName(String eventName)
eventName
- the eventNamepublic CreateDialogNodeOptions.Builder variable(String variable)
variable
- the variablepublic CreateDialogNodeOptions.Builder actions(List<DialogNodeAction> actions)
actions
- the actionspublic CreateDialogNodeOptions.Builder digressIn(String digressIn)
digressIn
- the digressInpublic CreateDialogNodeOptions.Builder digressOut(String digressOut)
digressOut
- the digressOutpublic CreateDialogNodeOptions.Builder digressOutSlots(String digressOutSlots)
digressOutSlots
- the digressOutSlotspublic CreateDialogNodeOptions.Builder userLabel(String userLabel)
userLabel
- the userLabelpublic CreateDialogNodeOptions.Builder disambiguationOptOut(Boolean disambiguationOptOut)
disambiguationOptOut
- the disambiguationOptOutpublic CreateDialogNodeOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditpublic CreateDialogNodeOptions.Builder dialogNode(DialogNode dialogNode)
dialogNode
- the dialogNodeCopyright © 2023 IBM Cloud. All rights reserved.