Class DailyRetentionFormat
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DailyRetentionFormat
Daily retention format.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the daysOfTheMonth property: List of days of the month.void
validate()
Validates the instance.withDaysOfTheMonth
(List<Day> daysOfTheMonth) Set the daysOfTheMonth property: List of days of the month.
-
Constructor Details
-
DailyRetentionFormat
public DailyRetentionFormat()Creates an instance of DailyRetentionFormat class.
-
-
Method Details
-
daysOfTheMonth
Get the daysOfTheMonth property: List of days of the month.- Returns:
- the daysOfTheMonth value.
-
withDaysOfTheMonth
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.
-