public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(DialogNodeOutputGeneric dialogNodeOutputGenericDialogNodeOutputResponseTypeOption) |
Builder(String responseType,
String title,
List<DialogNodeOutputOptionsElement> options)
Instantiates a new builder with required properties.
|
public Builder(DialogNodeOutputGeneric dialogNodeOutputGenericDialogNodeOutputResponseTypeOption)
public Builder()
public Builder(String responseType, String title, List<DialogNodeOutputOptionsElement> options)
responseType
- the responseTypetitle
- the titleoptions
- the optionspublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption build()
public DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder addOptions(DialogNodeOutputOptionsElement options)
options
- the new optionspublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder addChannels(ResponseGenericChannel channels)
channels
- the new channelspublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder responseType(String responseType)
responseType
- the responseTypepublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder title(String title)
title
- the titlepublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder description(String description)
description
- the descriptionpublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder preference(String preference)
preference
- the preferencepublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder options(List<DialogNodeOutputOptionsElement> options)
options
- the optionspublic DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.Builder channels(List<ResponseGenericChannel> channels)
channels
- the channelsCopyright © 2021 IBM Cloud. All rights reserved.