public static class CreateDialogNodeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
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 |
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(java.util.Map 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 |
variable(java.lang.String variable)
Set the variable.
|
CreateDialogNodeOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public Builder()
public 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 parent(java.lang.String parent)
parent
- the parentpublic CreateDialogNodeOptions.Builder metadata(java.util.Map metadata)
metadata
- the metadatapublic CreateDialogNodeOptions.Builder description(java.lang.String description)
description
- the descriptionpublic CreateDialogNodeOptions.Builder nodeType(java.lang.String nodeType)
nodeType
- the nodeTypepublic CreateDialogNodeOptions.Builder title(java.lang.String title)
title
- the titlepublic CreateDialogNodeOptions.Builder output(java.util.Map output)
output
- the outputpublic CreateDialogNodeOptions.Builder nextStep(DialogNodeNextStep nextStep)
nextStep
- the nextSteppublic CreateDialogNodeOptions.Builder variable(java.lang.String variable)
variable
- the variablepublic CreateDialogNodeOptions.Builder context(java.util.Map context)
context
- the contextpublic CreateDialogNodeOptions.Builder eventName(java.lang.String eventName)
eventName
- the eventNamepublic CreateDialogNodeOptions.Builder previousSibling(java.lang.String previousSibling)
previousSibling
- the previousSiblingpublic CreateDialogNodeOptions.Builder conditions(java.lang.String conditions)
conditions
- the conditionspublic CreateDialogNodeOptions.Builder actions(java.util.List<DialogNodeAction> actions)
actions
- the actionspublic CreateDialogNodeOptions.Builder dialogNode(java.lang.String dialogNode)
dialogNode
- the dialogNode