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.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowTriggerRecurrence class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: The end time.Get the frequency property: The frequency.static WorkflowTriggerRecurrencefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowTriggerRecurrence from the JsonReader.interval()Get the interval property: The interval.schedule()Get the schedule property: The recurrence schedule.Get the startTime property: The start time.timeZone()Get the timeZone property: The time zone.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEndTime(String endTime) Set the endTime property: The end time.withFrequency(RecurrenceFrequency frequency) Set the frequency property: The frequency.withInterval(Integer interval) Set the interval property: The interval.withSchedule(RecurrenceSchedule schedule) Set the schedule property: The recurrence schedule.withStartTime(String startTime) Set the startTime property: The start time.withTimeZone(String timeZone) Set the timeZone property: The time zone.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WorkflowTriggerRecurrence
public WorkflowTriggerRecurrence()Creates an instance of WorkflowTriggerRecurrence class.
-
-
Method Details
-
frequency
Get the frequency property: The frequency.- Returns:
- the frequency value.
-
withFrequency
Set the frequency property: The frequency.- Parameters:
frequency- the frequency value to set.- Returns:
- the WorkflowTriggerRecurrence object itself.
-
interval
Get the interval property: The interval.- Returns:
- the interval value.
-
withInterval
Set the interval property: The interval.- Parameters:
interval- the interval value to set.- Returns:
- the WorkflowTriggerRecurrence object itself.
-
startTime
Get the startTime property: The start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The start time.- Parameters:
startTime- the startTime value to set.- Returns:
- the WorkflowTriggerRecurrence object itself.
-
endTime
Get the endTime property: The end time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The end time.- Parameters:
endTime- the endTime value to set.- Returns:
- the WorkflowTriggerRecurrence object itself.
-
timeZone
Get the timeZone property: The time zone.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: The time zone.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the WorkflowTriggerRecurrence object itself.
-
schedule
Get the schedule property: The recurrence schedule.- Returns:
- the schedule value.
-
withSchedule
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.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-