public static class RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(RuntimeResponseGenericRuntimeResponseTypeChannelTransfer runtimeResponseGenericRuntimeResponseTypeChannelTransfer) |
Builder(String responseType,
String messageToUser,
ChannelTransferInfo transferInfo)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder |
addChannels(ResponseGenericChannel channels)
Adds an channels to channels.
|
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer |
build()
Builds a RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.
|
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder |
channels(List<ResponseGenericChannel> channels)
Set the channels.
|
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder |
messageToUser(String messageToUser)
Set the messageToUser.
|
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder |
responseType(String responseType)
Set the responseType.
|
RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder |
transferInfo(ChannelTransferInfo transferInfo)
Set the transferInfo.
|
public Builder(RuntimeResponseGenericRuntimeResponseTypeChannelTransfer runtimeResponseGenericRuntimeResponseTypeChannelTransfer)
public Builder()
public Builder(String responseType, String messageToUser, ChannelTransferInfo transferInfo)
responseType
- the responseTypemessageToUser
- the messageToUsertransferInfo
- the transferInfopublic RuntimeResponseGenericRuntimeResponseTypeChannelTransfer build()
public RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder addChannels(ResponseGenericChannel channels)
channels
- the new channelspublic RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder responseType(String responseType)
responseType
- the responseTypepublic RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder messageToUser(String messageToUser)
messageToUser
- the messageToUserpublic RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder transferInfo(ChannelTransferInfo transferInfo)
transferInfo
- the transferInfopublic RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.Builder channels(List<ResponseGenericChannel> channels)
channels
- the channelsCopyright © 2021 IBM Cloud. All rights reserved.