Class DateAfterModification


  • public final class DateAfterModification
    extends Object
    Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan.
    • Constructor Detail

      • DateAfterModification

        public DateAfterModification()
    • Method Detail

      • daysAfterModificationGreaterThan

        public Float daysAfterModificationGreaterThan()
        Get the daysAfterModificationGreaterThan property: Value indicating the age in days after last modification.
        Returns:
        the daysAfterModificationGreaterThan value.
      • withDaysAfterModificationGreaterThan

        public DateAfterModification withDaysAfterModificationGreaterThan​(Float daysAfterModificationGreaterThan)
        Set the daysAfterModificationGreaterThan property: Value indicating the age in days after last modification.
        Parameters:
        daysAfterModificationGreaterThan - the daysAfterModificationGreaterThan value to set.
        Returns:
        the DateAfterModification object itself.
      • daysAfterLastAccessTimeGreaterThan

        public Float daysAfterLastAccessTimeGreaterThan()
        Get the daysAfterLastAccessTimeGreaterThan property: Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy.
        Returns:
        the daysAfterLastAccessTimeGreaterThan value.
      • withDaysAfterLastAccessTimeGreaterThan

        public DateAfterModification withDaysAfterLastAccessTimeGreaterThan​(Float daysAfterLastAccessTimeGreaterThan)
        Set the daysAfterLastAccessTimeGreaterThan property: Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy.
        Parameters:
        daysAfterLastAccessTimeGreaterThan - the daysAfterLastAccessTimeGreaterThan value to set.
        Returns:
        the DateAfterModification object itself.
      • daysAfterLastTierChangeGreaterThan

        public Float daysAfterLastTierChangeGreaterThan()
        Get the daysAfterLastTierChangeGreaterThan property: Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
        Returns:
        the daysAfterLastTierChangeGreaterThan value.
      • withDaysAfterLastTierChangeGreaterThan

        public DateAfterModification withDaysAfterLastTierChangeGreaterThan​(Float daysAfterLastTierChangeGreaterThan)
        Set the daysAfterLastTierChangeGreaterThan property: Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.
        Parameters:
        daysAfterLastTierChangeGreaterThan - the daysAfterLastTierChangeGreaterThan value to set.
        Returns:
        the DateAfterModification object itself.
      • daysAfterCreationGreaterThan

        public Float daysAfterCreationGreaterThan()
        Get the daysAfterCreationGreaterThan property: Value indicating the age in days after blob creation.
        Returns:
        the daysAfterCreationGreaterThan value.
      • withDaysAfterCreationGreaterThan

        public DateAfterModification withDaysAfterCreationGreaterThan​(Float daysAfterCreationGreaterThan)
        Set the daysAfterCreationGreaterThan property: Value indicating the age in days after blob creation.
        Parameters:
        daysAfterCreationGreaterThan - the daysAfterCreationGreaterThan value to set.
        Returns:
        the DateAfterModification object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.