Class ListPartsResult.Part

  • Enclosing class:
    ListPartsResult

    public static class ListPartsResult.Part
    extends java.lang.Object
    Part contains metadata of a part of the object in multipart upload.
    • Method Detail

      • fromURIStatus

        public static ListPartsResult.Part fromURIStatus​(alluxio.client.file.URIStatus status)
        Parameters:
        status - the status of the part file
        Returns:
        the ListPartsResult.Part parsed from the status
      • getPartNumber

        public int getPartNumber()
        Returns:
        the part number
      • setPartNumber

        public void setPartNumber​(int partNumber)
        Parameters:
        partNumber - the part number to set
      • getLastModified

        public java.lang.String getLastModified()
        Returns:
        the last modification time
      • setLastModified

        public void setLastModified​(java.lang.String lastModified)
        Parameters:
        lastModified - the last modification time to set
      • getETag

        public java.lang.String getETag()
        Returns:
        the entity tag surrounded by quotes
      • setETag

        public void setETag​(java.lang.String etag)
        Parameters:
        etag - the entity tag to set (without surrounding quotes)
      • getSize

        public long getSize()
        Returns:
        the size of the part in bytes
      • setSize

        public void setSize​(long size)
        Parameters:
        size - the size of the part (in bytes) to set