Class BlobInfo


  • public class BlobInfo
    extends java.lang.Object
    A BlobInfo class that contains both the blob property, the usermetadata and the lifeVersion for the blob.
    • Constructor Detail

      • BlobInfo

        public BlobInfo​(BlobProperties blobProperties,
                        byte[] userMetadata)
        Constructor to create a BlobInfo.
        Parameters:
        blobProperties - The BlobProperties of this blob.
        userMetadata - The user metadata of this blob.
      • BlobInfo

        public BlobInfo​(BlobProperties blobProperties,
                        byte[] userMetadata,
                        short lifeVersion)
        Constructor to create a BlobInfo.
        Parameters:
        blobProperties - The BlobProperties of this blob.
        userMetadata - The user metadata of this blob.
        lifeVersion - The lifeVersion of this blob.
    • Method Detail

      • getUserMetadata

        public byte[] getUserMetadata()
        Returns:
        The user metadata of this blob.
      • setLifeVersion

        public void setLifeVersion​(short lifeVersion)
        Set the lifeVersion of this blob.
        Parameters:
        lifeVersion - The lifeVersion to set.
      • getLifeVersion

        public short getLifeVersion()
        Returns:
        The lifeVersion of this blob.