Interface ImportBatch.Builder

  • Method Details

    • batchId

      ImportBatch.Builder batchId(String batchId)

      The unique identifier of the import batch.

      Parameters:
      batchId - The unique identifier of the import batch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      ImportBatch.Builder status(String status)

      The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

      Parameters:
      status - The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

      Parameters:
      status - The current status of the import batch. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      ImportBatch.Builder errorMessage(String errorMessage)

      The error message if the batch failed to import. Only present when status is FAILED.

      Parameters:
      errorMessage - The error message if the batch failed to import. Only present when status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.