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.Builder
addChannels(ResponseGenericChannel channels)
Adds an channels to channels.RuntimeResponseGenericRuntimeResponseTypeImage
build()
Builds a RuntimeResponseGenericRuntimeResponseTypeImage.RuntimeResponseGenericRuntimeResponseTypeImage.Builder
channels(List<ResponseGenericChannel> channels)
Set the channels.RuntimeResponseGenericRuntimeResponseTypeImage.Builder
description(String description)
Set the description.RuntimeResponseGenericRuntimeResponseTypeImage.Builder
responseType(String responseType)
Set the responseType.RuntimeResponseGenericRuntimeResponseTypeImage.Builder
source(String source)
Set the source.RuntimeResponseGenericRuntimeResponseTypeImage.Builder
title(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
-