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