RecurrenceScheduleOccurrence Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. RecurrenceScheduleOccurrence
- com.
Implements
public final class RecurrenceScheduleOccurrence
implements JsonSerializable<RecurrenceScheduleOccurrence>
The recurrence schedule occurrence.
Constructor Summary
Constructor | Description |
---|---|
RecurrenceScheduleOccurrence() |
Creates an instance of Recurrence |
Method Summary
Modifier and Type | Method and Description |
---|---|
Day |
day()
Get the day property: The day of the week. |
static
Recurrence |
fromJson(JsonReader jsonReader)
Reads an instance of Recurrence |
Integer |
occurrence()
Get the occurrence property: The occurrence. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Recurrence |
withDay(DayOfWeek day)
Set the day property: The day of the week. |
Recurrence |
withOccurrence(Integer occurrence)
Set the occurrence property: The occurrence. |
Methods inherited from java.lang.Object
Constructor Details
RecurrenceScheduleOccurrence
public RecurrenceScheduleOccurrence()
Creates an instance of RecurrenceScheduleOccurrence class.
Method Details
day
public DayOfWeek day()
Get the day property: The day of the week.
Returns:
fromJson
public static RecurrenceScheduleOccurrence fromJson(JsonReader jsonReader)
Reads an instance of RecurrenceScheduleOccurrence from the JsonReader.
Parameters:
Returns:
Throws:
occurrence
public Integer occurrence()
Get the occurrence property: The occurrence.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDay
public RecurrenceScheduleOccurrence withDay(DayOfWeek day)
Set the day property: The day of the week.
Parameters:
Returns:
withOccurrence
public RecurrenceScheduleOccurrence withOccurrence(Integer occurrence)
Set the occurrence property: The occurrence.
Parameters:
Returns:
Applies to
Azure SDK for Java