Class BlobStatus


  • public class BlobStatus
    extends Object
    Status associated to a blob in storage.
    Since:
    11.1
    • Field Detail

      • storageClass

        protected String storageClass
      • downloadable

        protected boolean downloadable
      • downloadableUntil

        protected Instant downloadableUntil
      • ongoingRestore

        protected boolean ongoingRestore
    • Constructor Detail

      • BlobStatus

        public BlobStatus()
    • Method Detail

      • withStorageClass

        public BlobStatus withStorageClass​(String storageClass)
      • withDownloadable

        public BlobStatus withDownloadable​(boolean downloadable)
      • withDownloadableUntil

        public BlobStatus withDownloadableUntil​(Instant downloadableUntil)
      • withOngoingRestore

        public BlobStatus withOngoingRestore​(boolean ongoingRestore)
      • getStorageClass

        public String getStorageClass()
        The storage class, or null for the standard storage class.
      • isDownloadable

        public boolean isDownloadable()
        Whether the blob can be immediately downloaded.
      • getDownloadableUntil

        public Instant getDownloadableUntil()
        If the blob can be download for a limited time, until when.

        Returns null if the blob is always downloadable, or is not immediately downloadable.

      • isOngoingRestore

        public boolean isOngoingRestore()