Class DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder
- Enclosing class:
- DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.BuilderaddChannels(ResponseGenericChannel channels)Adds an channels to channels.DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefinedbuild()Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builderchannels(List<ResponseGenericChannel> channels)Set the channels.DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.BuilderresponseType(String responseType)Set the responseType.DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.BuilderuserDefined(Map<String,Object> userDefined)Set the userDefined.
-
Constructor Details
-
Builder
public Builder(DialogNodeOutputGeneric dialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined) -
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
responseType- the responseTypeuserDefined- the userDefined
-
-
Method Details
-
build
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.- Returns:
- the new DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined instance
-
addChannels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels- the new channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined builder
-
responseType
public DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder responseType(String responseType)Set the responseType.- Parameters:
responseType- the responseType- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined builder
-
userDefined
public DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder userDefined(Map<String,Object> userDefined)Set the userDefined.- Parameters:
userDefined- the userDefined- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined builder
-
channels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels- the channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined builder
-