Class DailyRetentionFormat


  • public final class DailyRetentionFormat
    extends Object
    Daily retention format.
    • Constructor Detail

      • DailyRetentionFormat

        public DailyRetentionFormat()
    • Method Detail

      • daysOfTheMonth

        public List<Day> daysOfTheMonth()
        Get the daysOfTheMonth property: List of days of the month.
        Returns:
        the daysOfTheMonth value.
      • withDaysOfTheMonth

        public DailyRetentionFormat withDaysOfTheMonth​(List<Day> daysOfTheMonth)
        Set the daysOfTheMonth property: List of days of the month.
        Parameters:
        daysOfTheMonth - the daysOfTheMonth value to set.
        Returns:
        the DailyRetentionFormat object itself.
      • validate

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