Interface DataRepositoryTaskStatus.Builder

    • Method Detail

      • totalCount

        DataRepositoryTaskStatus.Builder totalCount​(Long totalCount)

        The total number of files that the task will process. While a task is executing, the sum of SucceededCount plus FailedCount may not equal TotalCount. When the task is complete, TotalCount equals the sum of SucceededCount plus FailedCount.

        Parameters:
        totalCount - The total number of files that the task will process. While a task is executing, the sum of SucceededCount plus FailedCount may not equal TotalCount. When the task is complete, TotalCount equals the sum of SucceededCount plus FailedCount.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • succeededCount

        DataRepositoryTaskStatus.Builder succeededCount​(Long succeededCount)

        A running total of the number of files that the task has successfully processed.

        Parameters:
        succeededCount - A running total of the number of files that the task has successfully processed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedCount

        DataRepositoryTaskStatus.Builder failedCount​(Long failedCount)

        A running total of the number of files that the task failed to process.

        Parameters:
        failedCount - A running total of the number of files that the task failed to process.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        DataRepositoryTaskStatus.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The time at which the task status was last updated.

        Parameters:
        lastUpdatedTime - The time at which the task status was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • releasedCapacity

        DataRepositoryTaskStatus.Builder releasedCapacity​(Long releasedCapacity)

        The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.

        Parameters:
        releasedCapacity - The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
        Returns:
        Returns a reference to this object so that method calls can be chained together.