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