Class BulkClassifyOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.BulkClassifyOptions.Builder
- Enclosing class:
- BulkClassifyOptions
public static class BulkClassifyOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description BulkClassifyOptions.Builder
addInput(BulkClassifyUtterance input)
Adds an input to input.BulkClassifyOptions
build()
Builds a BulkClassifyOptions.BulkClassifyOptions.Builder
input(List<BulkClassifyUtterance> input)
Set the input.BulkClassifyOptions.Builder
workspaceId(String workspaceId)
Set the workspaceId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
workspaceId
- the workspaceId
-
-
Method Details
-
build
Builds a BulkClassifyOptions.- Returns:
- the new BulkClassifyOptions instance
-
addInput
Adds an input to input.- Parameters:
input
- the new input- Returns:
- the BulkClassifyOptions builder
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the BulkClassifyOptions builder
-
input
Set the input. Existing input will be replaced.- Parameters:
input
- the input- Returns:
- the BulkClassifyOptions builder
-