Class DailyRetentionFormat
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.DailyRetentionFormat
-
public final class DailyRetentionFormat extends Object
Daily retention format.
-
-
Constructor Summary
Constructors Constructor Description DailyRetentionFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Day>
daysOfTheMonth()
Get the daysOfTheMonth property: List of days of the month.void
validate()
Validates the instance.DailyRetentionFormat
withDaysOfTheMonth(List<Day> daysOfTheMonth)
Set the daysOfTheMonth property: List of days of the month.
-
-
-
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.
-
-