public static class CreateDialogNodeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateDialogNodeOptions.Builder()
Instantiates a new builder.
|
CreateDialogNodeOptions.Builder(java.lang.String workspaceId,
java.lang.String dialogNode)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateDialogNodeOptions.Builder |
actions(java.util.List<DialogNodeAction> actions)
Set the actions.
|
CreateDialogNodeOptions.Builder |
addActions(DialogNodeAction actions)
Adds an actions to actions.
|
CreateDialogNodeOptions |
build()
Builds a CreateDialogNodeOptions.
|
CreateDialogNodeOptions.Builder |
conditions(java.lang.String conditions)
Set the conditions.
|
CreateDialogNodeOptions.Builder |
context(java.util.Map context)
Set the context.
|
CreateDialogNodeOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateDialogNodeOptions.Builder |
dialogNode(java.lang.String dialogNode)
Set the dialogNode.
|
CreateDialogNodeOptions.Builder |
digressIn(java.lang.String digressIn)
Set the digressIn.
|
CreateDialogNodeOptions.Builder |
digressOut(java.lang.String digressOut)
Set the digressOut.
|
CreateDialogNodeOptions.Builder |
digressOutSlots(java.lang.String digressOutSlots)
Set the digressOutSlots.
|
CreateDialogNodeOptions.Builder |
eventName(java.lang.String eventName)
Set the eventName.
|
CreateDialogNodeOptions.Builder |
metadata(java.util.Map metadata)
Set the metadata.
|
CreateDialogNodeOptions.Builder |
nextStep(DialogNodeNextStep nextStep)
Set the nextStep.
|
CreateDialogNodeOptions.Builder |
nodeType(java.lang.String nodeType)
Set the nodeType.
|
CreateDialogNodeOptions.Builder |
output(DialogNodeOutput output)
Set the output.
|
CreateDialogNodeOptions.Builder |
parent(java.lang.String parent)
Set the parent.
|
CreateDialogNodeOptions.Builder |
previousSibling(java.lang.String previousSibling)
Set the previousSibling.
|
CreateDialogNodeOptions.Builder |
title(java.lang.String title)
Set the title.
|
CreateDialogNodeOptions.Builder |
userLabel(java.lang.String userLabel)
Set the userLabel.
|
CreateDialogNodeOptions.Builder |
variable(java.lang.String variable)
Set the variable.
|
CreateDialogNodeOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public CreateDialogNodeOptions.Builder()
public CreateDialogNodeOptions.Builder(java.lang.String workspaceId, java.lang.String dialogNode)
workspaceId
- the workspaceIddialogNode
- the dialogNodepublic CreateDialogNodeOptions build()
public CreateDialogNodeOptions.Builder addActions(DialogNodeAction actions)
actions
- the new actionspublic CreateDialogNodeOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic CreateDialogNodeOptions.Builder dialogNode(java.lang.String dialogNode)
dialogNode
- the dialogNodepublic CreateDialogNodeOptions.Builder description(java.lang.String description)
description
- the descriptionpublic CreateDialogNodeOptions.Builder conditions(java.lang.String conditions)
conditions
- the conditionspublic CreateDialogNodeOptions.Builder parent(java.lang.String parent)
parent
- the parentpublic CreateDialogNodeOptions.Builder previousSibling(java.lang.String previousSibling)
previousSibling
- the previousSiblingpublic CreateDialogNodeOptions.Builder output(DialogNodeOutput output)
output
- the outputpublic CreateDialogNodeOptions.Builder context(java.util.Map context)
context
- the contextpublic CreateDialogNodeOptions.Builder metadata(java.util.Map metadata)
metadata
- the metadatapublic CreateDialogNodeOptions.Builder nextStep(DialogNodeNextStep nextStep)
nextStep
- the nextSteppublic CreateDialogNodeOptions.Builder actions(java.util.List<DialogNodeAction> actions)
actions
- the actionspublic CreateDialogNodeOptions.Builder title(java.lang.String title)
title
- the titlepublic CreateDialogNodeOptions.Builder nodeType(java.lang.String nodeType)
nodeType
- the nodeTypepublic CreateDialogNodeOptions.Builder eventName(java.lang.String eventName)
eventName
- the eventNamepublic CreateDialogNodeOptions.Builder variable(java.lang.String variable)
variable
- the variablepublic CreateDialogNodeOptions.Builder digressIn(java.lang.String digressIn)
digressIn
- the digressInpublic CreateDialogNodeOptions.Builder digressOut(java.lang.String digressOut)
digressOut
- the digressOutpublic CreateDialogNodeOptions.Builder digressOutSlots(java.lang.String digressOutSlots)
digressOutSlots
- the digressOutSlotspublic CreateDialogNodeOptions.Builder userLabel(java.lang.String userLabel)
userLabel
- the userLabel