Class DailyRetentionFormat

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DailyRetentionFormat

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

    • DailyRetentionFormat

      public DailyRetentionFormat()
      Creates an instance of DailyRetentionFormat class.
  • Method Details

    • 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.