Class BucketLifecycleConfiguration.Transition

    • Constructor Detail

      • Transition

        public Transition()
    • Method Detail

      • setDays

        public void setDays​(int expirationInDays)
        Sets the time, in days, between when an object is uploaded to the bucket and when it expires.
      • getDays

        public int getDays()
        Returns the time in days from an object's creation to its expiration.
      • setStorageClass

        public void setStorageClass​(StorageClass storageClass)
        Sets the storage class of this object.
      • setStorageClass

        public void setStorageClass​(String storageClass)
        Sets the storage class of this object.
      • getStorageClassAsString

        public String getStorageClassAsString()
        Returns the storage class of this object.
      • setDate

        public void setDate​(Date expirationDate)
        Set the expiration date of this object.
      • getDate

        public Date getDate()
        Returns the expiration date of this object.