Class DialogNodeAction.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeAction.Builder
- Enclosing class:
- DialogNodeAction
public static class DialogNodeAction.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DialogNodeActionbuild()Builds a DialogNodeAction.DialogNodeAction.Buildercredentials(String credentials)Set the credentials.DialogNodeAction.Buildername(String name)Set the name.DialogNodeAction.Builderparameters(Map<String,Object> parameters)Set the parameters.DialogNodeAction.BuilderresultVariable(String resultVariable)Set the resultVariable.DialogNodeAction.Buildertype(String type)Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
name- the nameresultVariable- the resultVariable
-
-
Method Details
-
build
Builds a DialogNodeAction.- Returns:
- the new DialogNodeAction instance
-
name
Set the name.- Parameters:
name- the name- Returns:
- the DialogNodeAction builder
-
type
Set the type.- Parameters:
type- the type- Returns:
- the DialogNodeAction builder
-
parameters
Set the parameters.- Parameters:
parameters- the parameters- Returns:
- the DialogNodeAction builder
-
resultVariable
Set the resultVariable.- Parameters:
resultVariable- the resultVariable- Returns:
- the DialogNodeAction builder
-
credentials
Set the credentials.- Parameters:
credentials- the credentials- Returns:
- the DialogNodeAction builder
-