public static class RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(RuntimeResponseGenericRuntimeResponseTypeConnectToAgent runtimeResponseGenericRuntimeResponseTypeConnectToAgent) |
Builder(String responseType)
Instantiates a new builder with required properties.
|
public Builder(RuntimeResponseGenericRuntimeResponseTypeConnectToAgent runtimeResponseGenericRuntimeResponseTypeConnectToAgent)
public Builder()
public Builder(String responseType)
responseType
- the responseTypepublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent build()
public RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder addChannels(ResponseGenericChannel channels)
channels
- the new channelspublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder responseType(String responseType)
responseType
- the responseTypepublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder messageToHumanAgent(String messageToHumanAgent)
messageToHumanAgent
- the messageToHumanAgentpublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder agentAvailable(AgentAvailabilityMessage agentAvailable)
agentAvailable
- the agentAvailablepublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder agentUnavailable(AgentAvailabilityMessage agentUnavailable)
agentUnavailable
- the agentUnavailablepublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder transferInfo(DialogNodeOutputConnectToAgentTransferInfo transferInfo)
transferInfo
- the transferInfopublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder topic(String topic)
topic
- the topicpublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder dialogNode(String dialogNode)
dialogNode
- the dialogNodepublic RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.Builder channels(List<ResponseGenericChannel> channels)
channels
- the channelsCopyright © 2021 IBM Cloud. All rights reserved.