Class RecurrenceScheduleOccurrence
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.RecurrenceScheduleOccurrence
-
public final class RecurrenceScheduleOccurrence extends Object
The recurrence schedule occurrence.
-
-
Constructor Summary
Constructors Constructor Description RecurrenceScheduleOccurrence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: The recurrence schedule occurrence.DayOfWeek
day()
Get the day property: The day of the week.Integer
occurrence()
Get the occurrence property: The occurrence.void
validate()
Validates the instance.RecurrenceScheduleOccurrence
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The recurrence schedule occurrence.RecurrenceScheduleOccurrence
withDay(DayOfWeek day)
Set the day property: The day of the week.RecurrenceScheduleOccurrence
withOccurrence(Integer occurrence)
Set the occurrence property: The occurrence.
-
-
-
Method Detail
-
day
public DayOfWeek day()
Get the day property: The day of the week.- Returns:
- the day value.
-
withDay
public RecurrenceScheduleOccurrence withDay(DayOfWeek day)
Set the day property: The day of the week.- Parameters:
day
- the day value to set.- Returns:
- the RecurrenceScheduleOccurrence object itself.
-
occurrence
public Integer occurrence()
Get the occurrence property: The occurrence.- Returns:
- the occurrence value.
-
withOccurrence
public RecurrenceScheduleOccurrence withOccurrence(Integer occurrence)
Set the occurrence property: The occurrence.- Parameters:
occurrence
- the occurrence value to set.- Returns:
- the RecurrenceScheduleOccurrence object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: The recurrence schedule occurrence.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public RecurrenceScheduleOccurrence withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The recurrence schedule occurrence.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the RecurrenceScheduleOccurrence object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-