public static class DialogNodeAction.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String name,
String resultVariable)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DialogNodeAction |
build()
Builds a DialogNodeAction.
|
DialogNodeAction.Builder |
credentials(String credentials)
Set the credentials.
|
DialogNodeAction.Builder |
name(String name)
Set the name.
|
DialogNodeAction.Builder |
parameters(Map<String,Object> parameters)
Set the parameters.
|
DialogNodeAction.Builder |
resultVariable(String resultVariable)
Set the resultVariable.
|
DialogNodeAction.Builder |
type(String type)
Set the type.
|
public DialogNodeAction build()
public DialogNodeAction.Builder name(String name)
name
- the namepublic DialogNodeAction.Builder type(String type)
type
- the typepublic DialogNodeAction.Builder parameters(Map<String,Object> parameters)
parameters
- the parameterspublic DialogNodeAction.Builder resultVariable(String resultVariable)
resultVariable
- the resultVariablepublic DialogNodeAction.Builder credentials(String credentials)
credentials
- the credentialsCopyright © 2023 IBM Cloud. All rights reserved.