Class WorkflowTriggerRecurrence

java.lang.Object
com.azure.resourcemanager.appservice.models.WorkflowTriggerRecurrence

public final class WorkflowTriggerRecurrence extends Object
The workflow trigger recurrence.
  • Constructor Details

    • WorkflowTriggerRecurrence

      public WorkflowTriggerRecurrence()
  • Method Details

    • frequency

      public RecurrenceFrequency frequency()
      Get the frequency property: The frequency.
      Returns:
      the frequency value.
    • withFrequency

      public WorkflowTriggerRecurrence withFrequency(RecurrenceFrequency frequency)
      Set the frequency property: The frequency.
      Parameters:
      frequency - the frequency value to set.
      Returns:
      the WorkflowTriggerRecurrence object itself.
    • interval

      public Integer interval()
      Get the interval property: The interval.
      Returns:
      the interval value.
    • withInterval

      public WorkflowTriggerRecurrence withInterval(Integer interval)
      Set the interval property: The interval.
      Parameters:
      interval - the interval value to set.
      Returns:
      the WorkflowTriggerRecurrence object itself.
    • startTime

      public String startTime()
      Get the startTime property: The start time.
      Returns:
      the startTime value.
    • withStartTime

      public WorkflowTriggerRecurrence withStartTime(String startTime)
      Set the startTime property: The start time.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the WorkflowTriggerRecurrence object itself.
    • endTime

      public String endTime()
      Get the endTime property: The end time.
      Returns:
      the endTime value.
    • withEndTime

      public WorkflowTriggerRecurrence withEndTime(String endTime)
      Set the endTime property: The end time.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the WorkflowTriggerRecurrence object itself.
    • timeZone

      public String timeZone()
      Get the timeZone property: The time zone.
      Returns:
      the timeZone value.
    • withTimeZone

      public WorkflowTriggerRecurrence withTimeZone(String timeZone)
      Set the timeZone property: The time zone.
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the WorkflowTriggerRecurrence object itself.
    • schedule

      public RecurrenceSchedule schedule()
      Get the schedule property: The recurrence schedule.
      Returns:
      the schedule value.
    • withSchedule

      public WorkflowTriggerRecurrence withSchedule(RecurrenceSchedule schedule)
      Set the schedule property: The recurrence schedule.
      Parameters:
      schedule - the schedule value to set.
      Returns:
      the WorkflowTriggerRecurrence object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.