Interface CancelImportTaskResponse.Builder

    • Method Detail

      • importId

        CancelImportTaskResponse.Builder importId​(String importId)

        The ID of the cancelled import task.

        Parameters:
        importId - The ID of the cancelled import task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importStatistics

        CancelImportTaskResponse.Builder importStatistics​(ImportStatistics importStatistics)

        Statistics about the import progress at the time of cancellation.

        Parameters:
        importStatistics - Statistics about the import progress at the time of cancellation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importStatus

        CancelImportTaskResponse.Builder importStatus​(String importStatus)

        The final status of the import task. This will be set to CANCELLED.

        Parameters:
        importStatus - The final status of the import task. This will be set to CANCELLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportStatus, ImportStatus
      • importStatus

        CancelImportTaskResponse.Builder importStatus​(ImportStatus importStatus)

        The final status of the import task. This will be set to CANCELLED.

        Parameters:
        importStatus - The final status of the import task. This will be set to CANCELLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportStatus, ImportStatus
      • creationTime

        CancelImportTaskResponse.Builder creationTime​(Long creationTime)

        The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Parameters:
        creationTime - The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        CancelImportTaskResponse.Builder lastUpdatedTime​(Long lastUpdatedTime)

        The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Parameters:
        lastUpdatedTime - The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.