Interface ImportBatch.Builder

    • Method Detail

      • 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:
        ImportStatus, ImportStatus
      • status

        ImportBatch.Builder status​(ImportStatus 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:
        ImportStatus, ImportStatus
      • 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.