Interface DataTransferProgress.Builder

    • Method Detail

      • status

        DataTransferProgress.Builder status​(String status)

        Describes the status of the cluster. While the transfer is in progress the status is transferringdata.

        Parameters:
        status - Describes the status of the cluster. While the transfer is in progress the status is transferringdata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentRateInMegaBytesPerSecond

        DataTransferProgress.Builder currentRateInMegaBytesPerSecond​(Double currentRateInMegaBytesPerSecond)

        Describes the data transfer rate in MB's per second.

        Parameters:
        currentRateInMegaBytesPerSecond - Describes the data transfer rate in MB's per second.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalDataInMegaBytes

        DataTransferProgress.Builder totalDataInMegaBytes​(Long totalDataInMegaBytes)

        Describes the total amount of data to be transfered in megabytes.

        Parameters:
        totalDataInMegaBytes - Describes the total amount of data to be transfered in megabytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataTransferredInMegaBytes

        DataTransferProgress.Builder dataTransferredInMegaBytes​(Long dataTransferredInMegaBytes)

        Describes the total amount of data that has been transfered in MB's.

        Parameters:
        dataTransferredInMegaBytes - Describes the total amount of data that has been transfered in MB's.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • estimatedTimeToCompletionInSeconds

        DataTransferProgress.Builder estimatedTimeToCompletionInSeconds​(Long estimatedTimeToCompletionInSeconds)

        Describes the estimated number of seconds remaining to complete the transfer.

        Parameters:
        estimatedTimeToCompletionInSeconds - Describes the estimated number of seconds remaining to complete the transfer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • elapsedTimeInSeconds

        DataTransferProgress.Builder elapsedTimeInSeconds​(Long elapsedTimeInSeconds)

        Describes the number of seconds that have elapsed during the data transfer.

        Parameters:
        elapsedTimeInSeconds - Describes the number of seconds that have elapsed during the data transfer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.