public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(DialogNodeOutputGeneric dialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined) |
Builder(String responseType,
Map<String,Object> userDefined)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder |
addChannels(ResponseGenericChannel channels)
Adds an channels to channels.
|
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined |
build()
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.
|
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder |
channels(List<ResponseGenericChannel> channels)
Set the channels.
|
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder |
responseType(String responseType)
Set the responseType.
|
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder |
userDefined(Map<String,Object> userDefined)
Set the userDefined.
|
public Builder(DialogNodeOutputGeneric dialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined)
public Builder()
public DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined build()
public DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder addChannels(ResponseGenericChannel channels)
channels
- the new channelspublic DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder responseType(String responseType)
responseType
- the responseTypepublic DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder userDefined(Map<String,Object> userDefined)
userDefined
- the userDefinedpublic DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.Builder channels(List<ResponseGenericChannel> channels)
channels
- the channelsCopyright © 2021 IBM Cloud. All rights reserved.