Class RuntimeResponseGenericRuntimeResponseTypeImage.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.RuntimeResponseGenericRuntimeResponseTypeImage.Builder
- Enclosing class:
- RuntimeResponseGenericRuntimeResponseTypeImage
public static class RuntimeResponseGenericRuntimeResponseTypeImage.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description RuntimeResponseGenericRuntimeResponseTypeImage.BuilderaddChannels(ResponseGenericChannel channels)Adds an channels to channels.RuntimeResponseGenericRuntimeResponseTypeImagebuild()Builds a RuntimeResponseGenericRuntimeResponseTypeImage.RuntimeResponseGenericRuntimeResponseTypeImage.Builderchannels(List<ResponseGenericChannel> channels)Set the channels.RuntimeResponseGenericRuntimeResponseTypeImage.Builderdescription(String description)Set the description.RuntimeResponseGenericRuntimeResponseTypeImage.BuilderresponseType(String responseType)Set the responseType.RuntimeResponseGenericRuntimeResponseTypeImage.Buildersource(String source)Set the source.RuntimeResponseGenericRuntimeResponseTypeImage.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 RuntimeResponseGenericRuntimeResponseTypeImage.- Returns:
- the new RuntimeResponseGenericRuntimeResponseTypeImage instance
-
addChannels
public RuntimeResponseGenericRuntimeResponseTypeImage.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels- the new channels- Returns:
- the RuntimeResponseGenericRuntimeResponseTypeImage builder
-
responseType
Set the responseType.- Parameters:
responseType- the responseType- Returns:
- the RuntimeResponseGenericRuntimeResponseTypeImage builder
-
source
Set the source.- Parameters:
source- the source- Returns:
- the RuntimeResponseGenericRuntimeResponseTypeImage builder
-
title
Set the title.- Parameters:
title- the title- Returns:
- the RuntimeResponseGenericRuntimeResponseTypeImage builder
-
description
Set the description.- Parameters:
description- the description- Returns:
- the RuntimeResponseGenericRuntimeResponseTypeImage builder
-
channels
public RuntimeResponseGenericRuntimeResponseTypeImage.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels- the channels- Returns:
- the RuntimeResponseGenericRuntimeResponseTypeImage builder
-