Class BulkClassifyOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v2.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
skillId(String skillId)
Set the skillId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
skillId
- the skillId
-
-
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
-
skillId
Set the skillId.- Parameters:
skillId
- the skillId- Returns:
- the BulkClassifyOptions builder
-
input
Set the input. Existing input will be replaced.- Parameters:
input
- the input- Returns:
- the BulkClassifyOptions builder
-