Class DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder
- Enclosing class:
- DialogNodeOutputGenericDialogNodeOutputResponseTypeImage
public static class DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.BuilderaddChannels(ResponseGenericChannel channels)Adds an channels to channels.DialogNodeOutputGenericDialogNodeOutputResponseTypeImagebuild()Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builderchannels(List<ResponseGenericChannel> channels)Set the channels.DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builderdescription(String description)Set the description.DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.BuilderresponseType(String responseType)Set the responseType.DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Buildersource(String source)Set the source.DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Buildertitle(String title)Set the title.
-
Constructor Details
-
Builder
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
responseType- the responseTypesource- the source
-
-
Method Details
-
build
Builds a DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.- Returns:
- the new DialogNodeOutputGenericDialogNodeOutputResponseTypeImage instance
-
addChannels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels- the new channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeImage builder
-
responseType
public DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder responseType(String responseType)Set the responseType.- Parameters:
responseType- the responseType- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeImage builder
-
source
Set the source.- Parameters:
source- the source- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeImage builder
-
title
Set the title.- Parameters:
title- the title- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeImage builder
-
description
public DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder description(String description)Set the description.- Parameters:
description- the description- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeImage builder
-
channels
public DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels- the channels- Returns:
- the DialogNodeOutputGenericDialogNodeOutputResponseTypeImage builder
-