Class RecurrenceScheduleOccurrence
java.lang.Object
com.azure.resourcemanager.appservice.models.RecurrenceScheduleOccurrence
The recurrence schedule occurrence.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionday()
Get the day property: The day of the week.Get the occurrence property: The occurrence.void
validate()
Validates the instance.Set the day property: The day of the week.withOccurrence
(Integer occurrence) Set the occurrence property: The occurrence.
-
Constructor Details
-
RecurrenceScheduleOccurrence
public RecurrenceScheduleOccurrence()
-
-
Method Details
-
day
Get the day property: The day of the week.- Returns:
- the day value.
-
withDay
Set the day property: The day of the week.- Parameters:
day
- the day value to set.- Returns:
- the RecurrenceScheduleOccurrence object itself.
-
occurrence
Get the occurrence property: The occurrence.- Returns:
- the occurrence value.
-
withOccurrence
Set the occurrence property: The occurrence.- Parameters:
occurrence
- the occurrence value to set.- Returns:
- the RecurrenceScheduleOccurrence object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-