Class DateAfterModification


  • public final class DateAfterModification
    extends Object
    Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive.
    • 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.
      • validate

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