Class DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder
- Enclosing class:
- DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent
public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent dialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent)
Builder(String responseType)
Instantiates a new builder with required properties. -
Method Summary
-
Constructor Details
-
Builder
public Builder(DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent dialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent) -
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
responseType
- the responseType
-
-
Method Details
-
build
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.- Returns:
- the new DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent instance
-
addChannels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels
- the new channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent builder
-
responseType
public DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder responseType(String responseType)Set the responseType.- Parameters:
responseType
- the responseType- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent builder
-
messageToHumanAgent
public DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder messageToHumanAgent(String messageToHumanAgent)Set the messageToHumanAgent.- Parameters:
messageToHumanAgent
- the messageToHumanAgent- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent builder
-
agentAvailable
public DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder agentAvailable(AgentAvailabilityMessage agentAvailable)Set the agentAvailable.- Parameters:
agentAvailable
- the agentAvailable- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent builder
-
transferInfo
public DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder transferInfo(DialogNodeOutputConnectToAgentTransferInfo transferInfo)Set the transferInfo.- Parameters:
transferInfo
- the transferInfo- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent builder
-
channels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels
- the channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent builder
-