Class DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder
- Enclosing class:
- DialogNodeOutputGenericDialogNodeOutputResponseTypeText
public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(DialogNodeOutputGeneric dialogNodeOutputGenericDialogNodeOutputResponseTypeText)
Builder(String responseType, List<DialogNodeOutputTextValuesElement> values)
Instantiates a new builder with required properties. -
Method Summary
-
Constructor Details
-
Builder
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
responseType
- the responseTypevalues
- the values
-
-
Method Details
-
build
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeText.- Returns:
- the new DialogNodeOutputGenericDialogNodeOutputResponseTypeText instance
-
addValues
public DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder addValues(DialogNodeOutputTextValuesElement values)Adds an values to values.- Parameters:
values
- the new values- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-
addChannels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels
- the new channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-
responseType
public DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder responseType(String responseType)Set the responseType.- Parameters:
responseType
- the responseType- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-
values
public DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder values(List<DialogNodeOutputTextValuesElement> values)Set the values. Existing values will be replaced.- Parameters:
values
- the values- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-
selectionPolicy
public DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder selectionPolicy(String selectionPolicy)Set the selectionPolicy.- Parameters:
selectionPolicy
- the selectionPolicy- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-
delimiter
Set the delimiter.- Parameters:
delimiter
- the delimiter- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-
channels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeText.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels
- the channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeText builder
-