Class DateAfterCreation


  • public final class DateAfterCreation
    extends Object
    Object to define snapshot and version action conditions.
    • Constructor Detail

      • DateAfterCreation

        public DateAfterCreation()
    • Method Detail

      • daysAfterCreationGreaterThan

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

        public DateAfterCreation withDaysAfterCreationGreaterThan​(float daysAfterCreationGreaterThan)
        Set the daysAfterCreationGreaterThan property: Value indicating the age in days after creation.
        Parameters:
        daysAfterCreationGreaterThan - the daysAfterCreationGreaterThan value to set.
        Returns:
        the DateAfterCreation 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 daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
        Returns:
        the daysAfterLastTierChangeGreaterThan value.
      • withDaysAfterLastTierChangeGreaterThan

        public DateAfterCreation 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 daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.
        Parameters:
        daysAfterLastTierChangeGreaterThan - the daysAfterLastTierChangeGreaterThan value to set.
        Returns:
        the DateAfterCreation object itself.
      • validate

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