Class DialogNodeOutput.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutput.Builder
- Enclosing class:
- DialogNodeOutput
public static class DialogNodeOutput.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description DialogNodeOutput.Builderadd(String name, Object value)Add an arbitrary property.DialogNodeOutput.BuilderaddGeneric(DialogNodeOutputGeneric generic)Adds an generic to generic.DialogNodeOutputbuild()Builds a DialogNodeOutput.DialogNodeOutput.Buildergeneric(List<DialogNodeOutputGeneric> generic)Set the generic.DialogNodeOutput.Builderintegrations(Map<String,Map<String,Object>> integrations)Set the integrations.DialogNodeOutput.Buildermodifiers(DialogNodeOutputModifiers modifiers)Set the modifiers.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a DialogNodeOutput.- Returns:
- the new DialogNodeOutput instance
-
addGeneric
Adds an generic to generic.- Parameters:
generic- the new generic- Returns:
- the DialogNodeOutput builder
-
generic
Set the generic. Existing generic will be replaced.- Parameters:
generic- the generic- Returns:
- the DialogNodeOutput builder
-
integrations
Set the integrations.- Parameters:
integrations- the integrations- Returns:
- the DialogNodeOutput builder
-
modifiers
Set the modifiers.- Parameters:
modifiers- the modifiers- Returns:
- the DialogNodeOutput builder
-
add
Add an arbitrary property.- Parameters:
name- the name of the property to addvalue- the value of the property to add- Returns:
- the DialogNodeOutput builder
-