Interface ResumableFileUpload.Builder

    • Method Detail

      • uploadFileRequest

        ResumableFileUpload.Builder uploadFileRequest​(UploadFileRequest uploadFileRequest)
        Sets the upload file request
        Parameters:
        uploadFileRequest - the upload file request
        Returns:
        a reference to this object so that method calls can be chained together.
      • multipartUploadId

        ResumableFileUpload.Builder multipartUploadId​(String multipartUploadId)
        Sets multipart ID associated with this transfer
        Parameters:
        multipartUploadId - the multipart ID
        Returns:
        a reference to this object so that method calls can be chained together.
      • fileLastModified

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

        ResumableFileUpload.Builder fileLength​(Long fileLength)
        Sets the file length
        Parameters:
        fileLength - the last modified time of the object
        Returns:
        a reference to this object so that method calls can be chained together.
      • totalParts

        ResumableFileUpload.Builder totalParts​(Long totalParts)
        Sets the total number of parts
        Parameters:
        totalParts - the total number of parts
        Returns:
        a reference to this object so that method calls can be chained together.
      • transferredParts

        ResumableFileUpload.Builder transferredParts​(Long transferredParts)
        Set the total number of parts transferred
        Parameters:
        transferredParts - the number of parts completed
        Returns:
        a reference to this object so that method calls can be chained together.
      • partSizeInBytes

        ResumableFileUpload.Builder partSizeInBytes​(Long partSizeInBytes)
        The part size associated with this transfer
        Parameters:
        partSizeInBytes - the part size in bytes
        Returns:
        a reference to this object so that method calls can be chained together.