Class RuntimeResponseGenericRuntimeResponseTypePause.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.RuntimeResponseGenericRuntimeResponseTypePause.Builder
- Enclosing class:
- RuntimeResponseGenericRuntimeResponseTypePause
public static class RuntimeResponseGenericRuntimeResponseTypePause.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description RuntimeResponseGenericRuntimeResponseTypePause.Builder
addChannels(ResponseGenericChannel channels)
Adds an channels to channels.RuntimeResponseGenericRuntimeResponseTypePause
build()
Builds a RuntimeResponseGenericRuntimeResponseTypePause.RuntimeResponseGenericRuntimeResponseTypePause.Builder
channels(List<ResponseGenericChannel> channels)
Set the channels.RuntimeResponseGenericRuntimeResponseTypePause.Builder
responseType(String responseType)
Set the responseType.RuntimeResponseGenericRuntimeResponseTypePause.Builder
time(long time)
Set the time.RuntimeResponseGenericRuntimeResponseTypePause.Builder
typing(Boolean typing)
Set the typing.
-
Constructor Details
-
Builder
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
responseType
- the responseTypetime
- the time
-
-
Method Details
-
build
Builds a RuntimeResponseGenericRuntimeResponseTypePause.- Returns:
- the new RuntimeResponseGenericRuntimeResponseTypePause instance
-
addChannels
public RuntimeResponseGenericRuntimeResponseTypePause.Builder addChannels(ResponseGenericChannel channels)Adds an channels to channels.- Parameters:
channels
- the new channels- Returns:
- the RuntimeResponseGenericRuntimeResponseTypePause builder
-
responseType
Set the responseType.- Parameters:
responseType
- the responseType- Returns:
- the RuntimeResponseGenericRuntimeResponseTypePause builder
-
time
Set the time.- Parameters:
time
- the time- Returns:
- the RuntimeResponseGenericRuntimeResponseTypePause builder
-
typing
Set the typing.- Parameters:
typing
- the typing- Returns:
- the RuntimeResponseGenericRuntimeResponseTypePause builder
-
channels
public RuntimeResponseGenericRuntimeResponseTypePause.Builder channels(List<ResponseGenericChannel> channels)Set the channels. Existing channels will be replaced.- Parameters:
channels
- the channels- Returns:
- the RuntimeResponseGenericRuntimeResponseTypePause builder
-