Interface MultipartManifest

    • Method Detail

      • getUploadId

        String getUploadId()
        Gets the upload ID associated with the multi-part upload.
        Returns:
        The upload ID.
      • isUploadComplete

        boolean isUploadComplete()
        Check to see whether all parts have completed (successfully or unsuccessfully).
        Returns:
        true if complete, false otherwise
      • isUploadSuccessful

        boolean isUploadSuccessful()
        Check to see whether all parts have completed successfully.
        Returns:
        true if all parts completed successfully, false otherwise
      • isUploadAborted

        boolean isUploadAborted()
        Check to see if abort has been called on the upload.

        Once aborted, the upload cannot have anymore parts added to it.

        Returns:
        true if the upload was aborted, false if not.
      • listCompletedParts

        List<CommitMultipartUploadPartDetails> listCompletedParts()
        Lists all currently parts that have completed upload so far.
        Returns:
        The list of completed parts.
      • listFailedParts

        List<Integer> listFailedParts()
        Lists the part numbers for all parts that have failed to upload so far.
        Returns:
        The list of failed part numbers.
      • listInProgressParts

        List<Integer> listInProgressParts()
        Lists the part numbers for all parts that have currently not been uploaded or are in progress.

        In the event that an upload is aborted, parts that have not been started yet will show up as in-progress in the manifest.

        Returns:
        The list of part numbers still in progress.
      • listFailedPartsDetails

        List<MultipartUploadFailedPartDetails> listFailedPartsDetails()
        Lists all the parts that have failed to upload and the cause of the failure
        Returns:
        The list of failed parts details.