Class WorkflowTriggerRecurrence

java.lang.Object
com.azure.resourcemanager.appservice.models.WorkflowTriggerRecurrence
All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkflowTriggerRecurrence>

public final class WorkflowTriggerRecurrence extends Object implements com.azure.json.JsonSerializable<WorkflowTriggerRecurrence>
The workflow trigger recurrence.
  • Method Details

    • frequency

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

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

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

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

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

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

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WorkflowTriggerRecurrence>
      Throws:
      IOException
    • fromJson

      public static WorkflowTriggerRecurrence fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WorkflowTriggerRecurrence from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WorkflowTriggerRecurrence if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the WorkflowTriggerRecurrence.