public static class DialogNodeAction.Builder
extends java.lang.Object
Constructor and Description |
---|
DialogNodeAction.Builder()
Instantiates a new builder.
|
DialogNodeAction.Builder(java.lang.String name,
java.lang.String resultVariable)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DialogNodeAction |
build()
Builds a DialogNodeAction.
|
DialogNodeAction.Builder |
credentials(java.lang.String credentials)
Set the credentials.
|
DialogNodeAction.Builder |
name(java.lang.String name)
Set the name.
|
DialogNodeAction.Builder |
parameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
Set the parameters.
|
DialogNodeAction.Builder |
resultVariable(java.lang.String resultVariable)
Set the resultVariable.
|
DialogNodeAction.Builder |
type(java.lang.String type)
Set the type.
|
public DialogNodeAction.Builder()
public DialogNodeAction.Builder(java.lang.String name, java.lang.String resultVariable)
name
- the nameresultVariable
- the resultVariablepublic DialogNodeAction build()
public DialogNodeAction.Builder name(java.lang.String name)
name
- the namepublic DialogNodeAction.Builder type(java.lang.String type)
type
- the typepublic DialogNodeAction.Builder parameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
parameters
- the parameterspublic DialogNodeAction.Builder resultVariable(java.lang.String resultVariable)
resultVariable
- the resultVariablepublic DialogNodeAction.Builder credentials(java.lang.String credentials)
credentials
- the credentials