Interface ResumableFileDownload.Builder

    • Method Detail

      • downloadFileRequest

        ResumableFileDownload.Builder downloadFileRequest​(DownloadFileRequest downloadFileRequest)
        Sets the download file request
        Parameters:
        downloadFileRequest - the download file request
        Returns:
        a reference to this object so that method calls can be chained together.
      • bytesTransferred

        ResumableFileDownload.Builder bytesTransferred​(Long bytesTransferred)
        Sets the number of bytes transferred
        Parameters:
        bytesTransferred - the number of bytes transferred
        Returns:
        a reference to this object so that method calls can be chained together.
      • totalSizeInBytes

        ResumableFileDownload.Builder totalSizeInBytes​(Long totalSizeInBytes)
        Sets the total transfer size in bytes
        Parameters:
        totalSizeInBytes - the transfer size in bytes
        Returns:
        a reference to this object so that method calls can be chained together.
      • s3ObjectLastModified

        ResumableFileDownload.Builder s3ObjectLastModified​(Instant s3ObjectLastModified)
        Sets the last modified time of the object
        Parameters:
        s3ObjectLastModified - the last modified time of the object
        Returns:
        a reference to this object so that method calls can be chained together.
      • fileLastModified

        ResumableFileDownload.Builder fileLastModified​(Instant lastModified)
        Sets the last modified time of the object
        Parameters:
        lastModified - the last modified time of the object
        Returns:
        a reference to this object so that method calls can be chained together.