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