WorkflowTriggerRecurrence Class

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

Implements

public final class WorkflowTriggerRecurrence
implements JsonSerializable<WorkflowTriggerRecurrence>

The workflow trigger recurrence.

Constructor Summary

Constructor Description
WorkflowTriggerRecurrence()

Creates an instance of WorkflowTriggerRecurrence class.

Method Summary

Modifier and Type Method and Description
String endTime()

Get the endTime property: The end time.

RecurrenceFrequency frequency()

Get the frequency property: The frequency.

static WorkflowTriggerRecurrence fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerRecurrence from the JsonReader.

Integer interval()

Get the interval property: The interval.

RecurrenceSchedule schedule()

Get the schedule property: The recurrence schedule.

String startTime()

Get the startTime property: The start time.

String timeZone()

Get the timeZone property: The time zone.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WorkflowTriggerRecurrence withEndTime(String endTime)

Set the endTime property: The end time.

WorkflowTriggerRecurrence withFrequency(RecurrenceFrequency frequency)

Set the frequency property: The frequency.

WorkflowTriggerRecurrence withInterval(Integer interval)

Set the interval property: The interval.

WorkflowTriggerRecurrence withSchedule(RecurrenceSchedule schedule)

Set the schedule property: The recurrence schedule.

WorkflowTriggerRecurrence withStartTime(String startTime)

Set the startTime property: The start time.

WorkflowTriggerRecurrence withTimeZone(String timeZone)

Set the timeZone property: The time zone.

Methods inherited from java.lang.Object

Constructor Details

WorkflowTriggerRecurrence

public WorkflowTriggerRecurrence()

Creates an instance of WorkflowTriggerRecurrence class.

Method Details

endTime

public String endTime()

Get the endTime property: The end time.

Returns:

the endTime value.

frequency

public RecurrenceFrequency frequency()

Get the frequency property: The frequency.

Returns:

the frequency value.

fromJson

public static WorkflowTriggerRecurrence fromJson(JsonReader jsonReader)

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.

interval

public Integer interval()

Get the interval property: The interval.

Returns:

the interval value.

schedule

public RecurrenceSchedule schedule()

Get the schedule property: The recurrence schedule.

Returns:

the schedule value.

startTime

public String startTime()

Get the startTime property: The start time.

Returns:

the startTime value.

timeZone

public String timeZone()

Get the timeZone property: The time zone.

Returns:

the timeZone value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withFrequency

public WorkflowTriggerRecurrence withFrequency(RecurrenceFrequency frequency)

Set the frequency property: The frequency.

Parameters:

frequency - the frequency value to set.

Returns:

the WorkflowTriggerRecurrence object itself.

withInterval

public WorkflowTriggerRecurrence withInterval(Integer interval)

Set the interval property: The interval.

Parameters:

interval - the interval value to set.

Returns:

the WorkflowTriggerRecurrence object itself.

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.

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.

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.

Applies to