Class DialogNodeContext.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeContext.Builder
- Enclosing class:
- DialogNodeContext
public static class DialogNodeContext.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description DialogNodeContext.Builder
add(String name, Object value)
Add an arbitrary property.DialogNodeContext
build()
Builds a DialogNodeContext.DialogNodeContext.Builder
integrations(Map<String,Map<String,Object>> integrations)
Set the integrations.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a DialogNodeContext.- Returns:
- the new DialogNodeContext instance
-
integrations
Set the integrations.- Parameters:
integrations
- the integrations- Returns:
- the DialogNodeContext builder
-
add
Add an arbitrary property.- Parameters:
name
- the name of the property to addvalue
- the value of the property to add- Returns:
- the DialogNodeContext builder
-