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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String batchId, String action)
      Instantiates a new builder with required properties.
      Parameters:
      batchId - the batchId
      action - the action
  • Method Details

    • build

      public UpdateBatchOptions build()
      Builds a UpdateBatchOptions.
      Returns:
      the new UpdateBatchOptions instance
    • batchId

      public UpdateBatchOptions.Builder batchId​(String batchId)
      Set the batchId.
      Parameters:
      batchId - the batchId
      Returns:
      the UpdateBatchOptions builder
    • action

      public UpdateBatchOptions.Builder action​(String action)
      Set the action.
      Parameters:
      action - the action
      Returns:
      the UpdateBatchOptions builder
    • model

      public UpdateBatchOptions.Builder model​(String model)
      Set the model.
      Parameters:
      model - the model
      Returns:
      the UpdateBatchOptions builder