public static class UpdateDialogNodeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String workspaceId,
java.lang.String dialogNode,
java.lang.String newDialogNode)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateDialogNodeOptions.Builder |
addNewActions(DialogNodeAction newActions)
Adds an newActions to newActions.
|
UpdateDialogNodeOptions |
build()
Builds a UpdateDialogNodeOptions.
|
UpdateDialogNodeOptions.Builder |
dialogNode(java.lang.String dialogNode)
Set the dialogNode.
|
UpdateDialogNodeOptions.Builder |
newActions(java.util.List<DialogNodeAction> newActions)
Set the newActions.
|
UpdateDialogNodeOptions.Builder |
newConditions(java.lang.String newConditions)
Set the newConditions.
|
UpdateDialogNodeOptions.Builder |
newContext(java.util.Map newContext)
Set the newContext.
|
UpdateDialogNodeOptions.Builder |
newDescription(java.lang.String newDescription)
Set the newDescription.
|
UpdateDialogNodeOptions.Builder |
newDialogNode(java.lang.String newDialogNode)
Set the newDialogNode.
|
UpdateDialogNodeOptions.Builder |
newEventName(java.lang.String newEventName)
Set the newEventName.
|
UpdateDialogNodeOptions.Builder |
newMetadata(java.util.Map newMetadata)
Set the newMetadata.
|
UpdateDialogNodeOptions.Builder |
newNextStep(DialogNodeNextStep newNextStep)
Set the newNextStep.
|
UpdateDialogNodeOptions.Builder |
newOutput(java.util.Map newOutput)
Set the newOutput.
|
UpdateDialogNodeOptions.Builder |
newParent(java.lang.String newParent)
Set the newParent.
|
UpdateDialogNodeOptions.Builder |
newPreviousSibling(java.lang.String newPreviousSibling)
Set the newPreviousSibling.
|
UpdateDialogNodeOptions.Builder |
newTitle(java.lang.String newTitle)
Set the newTitle.
|
UpdateDialogNodeOptions.Builder |
newVariable(java.lang.String newVariable)
Set the newVariable.
|
UpdateDialogNodeOptions.Builder |
nodeType(java.lang.String nodeType)
Set the nodeType.
|
UpdateDialogNodeOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public Builder()
public Builder(java.lang.String workspaceId, java.lang.String dialogNode, java.lang.String newDialogNode)
workspaceId
- the workspaceIddialogNode
- the dialogNodenewDialogNode
- the newDialogNodepublic UpdateDialogNodeOptions build()
public UpdateDialogNodeOptions.Builder addNewActions(DialogNodeAction newActions)
newActions
- the new newActionspublic UpdateDialogNodeOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateDialogNodeOptions.Builder dialogNode(java.lang.String dialogNode)
dialogNode
- the dialogNodepublic UpdateDialogNodeOptions.Builder nodeType(java.lang.String nodeType)
nodeType
- the nodeTypepublic UpdateDialogNodeOptions.Builder newActions(java.util.List<DialogNodeAction> newActions)
newActions
- the newActionspublic UpdateDialogNodeOptions.Builder newConditions(java.lang.String newConditions)
newConditions
- the newConditionspublic UpdateDialogNodeOptions.Builder newPreviousSibling(java.lang.String newPreviousSibling)
newPreviousSibling
- the newPreviousSiblingpublic UpdateDialogNodeOptions.Builder newContext(java.util.Map newContext)
newContext
- the newContextpublic UpdateDialogNodeOptions.Builder newVariable(java.lang.String newVariable)
newVariable
- the newVariablepublic UpdateDialogNodeOptions.Builder newMetadata(java.util.Map newMetadata)
newMetadata
- the newMetadatapublic UpdateDialogNodeOptions.Builder newTitle(java.lang.String newTitle)
newTitle
- the newTitlepublic UpdateDialogNodeOptions.Builder newDescription(java.lang.String newDescription)
newDescription
- the newDescriptionpublic UpdateDialogNodeOptions.Builder newEventName(java.lang.String newEventName)
newEventName
- the newEventNamepublic UpdateDialogNodeOptions.Builder newNextStep(DialogNodeNextStep newNextStep)
newNextStep
- the newNextSteppublic UpdateDialogNodeOptions.Builder newOutput(java.util.Map newOutput)
newOutput
- the newOutputpublic UpdateDialogNodeOptions.Builder newParent(java.lang.String newParent)
newParent
- the newParentpublic UpdateDialogNodeOptions.Builder newDialogNode(java.lang.String newDialogNode)
newDialogNode
- the newDialogNode