Class AbsoluteMonthlySchedule
java.lang.Object
com.azure.resourcemanager.containerservice.models.AbsoluteMonthlySchedule
For schedules like: 'recur every month on the 15th' or 'recur every 3 months on the 20th'.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AbsoluteMonthlySchedule class. -
Method Summary
Modifier and TypeMethodDescriptionintGet the dayOfMonth property: The date of the month.intGet the intervalMonths property: Specifies the number of months between each set of occurrences.voidvalidate()Validates the instance.withDayOfMonth(int dayOfMonth) Set the dayOfMonth property: The date of the month.withIntervalMonths(int intervalMonths) Set the intervalMonths property: Specifies the number of months between each set of occurrences.
-
Constructor Details
-
AbsoluteMonthlySchedule
public AbsoluteMonthlySchedule()Creates an instance of AbsoluteMonthlySchedule class.
-
-
Method Details
-
intervalMonths
public int intervalMonths()Get the intervalMonths property: Specifies the number of months between each set of occurrences.- Returns:
- the intervalMonths value.
-
withIntervalMonths
Set the intervalMonths property: Specifies the number of months between each set of occurrences.- Parameters:
intervalMonths- the intervalMonths value to set.- Returns:
- the AbsoluteMonthlySchedule object itself.
-
dayOfMonth
public int dayOfMonth()Get the dayOfMonth property: The date of the month.- Returns:
- the dayOfMonth value.
-
withDayOfMonth
Set the dayOfMonth property: The date of the month.- Parameters:
dayOfMonth- the dayOfMonth value to set.- Returns:
- the AbsoluteMonthlySchedule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-