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 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.
-
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
-