Class DialogNodeOutputOptionsElement.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputOptionsElement.Builder
- Enclosing class:
- DialogNodeOutputOptionsElement
public static class DialogNodeOutputOptionsElement.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(String label, DialogNodeOutputOptionsElementValue value)Instantiates a new builder with required properties. -
Method Summary
Modifier and Type Method Description DialogNodeOutputOptionsElementbuild()Builds a DialogNodeOutputOptionsElement.DialogNodeOutputOptionsElement.Builderlabel(String label)Set the label.DialogNodeOutputOptionsElement.Buildervalue(DialogNodeOutputOptionsElementValue value)Set the value.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
label- the labelvalue- the value
-
-
Method Details
-
build
Builds a DialogNodeOutputOptionsElement.- Returns:
- the new DialogNodeOutputOptionsElement instance
-
label
Set the label.- Parameters:
label- the label- Returns:
- the DialogNodeOutputOptionsElement builder
-
value
Set the value.- Parameters:
value- the value- Returns:
- the DialogNodeOutputOptionsElement builder
-