Class RecurrenceScheduleOccurrence

java.lang.Object
com.azure.resourcemanager.datafactory.models.RecurrenceScheduleOccurrence

public final class RecurrenceScheduleOccurrence extends Object
The recurrence schedule occurrence.
  • 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:
      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

      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.