Class UpdateBatchOptions.Builder
java.lang.Object
com.ibm.watson.compare_comply.v1.model.UpdateBatchOptions.Builder
- Enclosing class:
- UpdateBatchOptions
public static class UpdateBatchOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description UpdateBatchOptions.Builder
action(String action)
Set the action.UpdateBatchOptions.Builder
batchId(String batchId)
Set the batchId.UpdateBatchOptions
build()
Builds a UpdateBatchOptions.UpdateBatchOptions.Builder
model(String model)
Set the model.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
batchId
- the batchIdaction
- the action
-
-
Method Details
-
build
Builds a UpdateBatchOptions.- Returns:
- the new UpdateBatchOptions instance
-
batchId
Set the batchId.- Parameters:
batchId
- the batchId- Returns:
- the UpdateBatchOptions builder
-
action
Set the action.- Parameters:
action
- the action- Returns:
- the UpdateBatchOptions builder
-
model
Set the model.- Parameters:
model
- the model- Returns:
- the UpdateBatchOptions builder
-