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