Class DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
- Enclosing class:
- DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer dialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer)
Builder(String responseType, String messageToUser, ChannelTransferInfo transferInfo)
Instantiates a new builder with required properties. -
Method Summary
Modifier and Type Method Description DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
addChannels(ResponseGenericChannel channels)
Adds an channels to channels.DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
build()
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
channels(List<ResponseGenericChannel> channels)
Set the channels.DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
messageToUser(String messageToUser)
Set the messageToUser.DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
responseType(String responseType)
Set the responseType.DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder
transferInfo(ChannelTransferInfo transferInfo)
Set the transferInfo.
-
Constructor Details
-
Builder
public Builder(DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer dialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer) -
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
responseType
- the responseTypemessageToUser
- the messageToUsertransferInfo
- the transferInfo
-
-
Method Details
-
build
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.- Returns:
- the new DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer instance
-
addChannels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels
- the new channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer builder
-
responseType
public DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder responseType(String responseType)Set the responseType.- Parameters:
responseType
- the responseType- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer builder
-
messageToUser
public DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder messageToUser(String messageToUser)Set the messageToUser.- Parameters:
messageToUser
- the messageToUser- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer builder
-
transferInfo
public DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder transferInfo(ChannelTransferInfo transferInfo)Set the transferInfo.- Parameters:
transferInfo
- the transferInfo- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer builder
-
channels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels
- the channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer builder
-