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