Recurrence Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. Recurrence
- com.
Implements
public final class Recurrence
implements JsonSerializable<Recurrence>
The workflow trigger recurrence for ComputeStartStop schedule type.
Constructor Summary
| Constructor | Description |
|---|---|
| Recurrence() |
Creates an instance of Recurrence class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Compute |
frequency()
Get the frequency property: [Required] The frequency to trigger schedule. |
| static Recurrence |
fromJson(JsonReader jsonReader)
Reads an instance of Recurrence from the Json |
| Integer |
interval()
Get the interval property: [Required] Specifies schedule interval in conjunction with frequency. |
|
Compute |
schedule()
Get the schedule property: [Required] The recurrence schedule. |
| String |
startTime()
Get the start |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Recurrence |
withFrequency(ComputeRecurrenceFrequency frequency)
Set the frequency property: [Required] The frequency to trigger schedule. |
| Recurrence |
withInterval(Integer interval)
Set the interval property: [Required] Specifies schedule interval in conjunction with frequency. |
| Recurrence |
withSchedule(ComputeRecurrenceSchedule schedule)
Set the schedule property: [Required] The recurrence schedule. |
| Recurrence |
withStartTime(String startTime)
Set the start |
| Recurrence |
withTimeZone(String timeZone)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
Recurrence
public Recurrence()
Creates an instance of Recurrence class.
Method Details
frequency
public ComputeRecurrenceFrequency frequency()
Get the frequency property: [Required] The frequency to trigger schedule.
Returns:
fromJson
public static Recurrence fromJson(JsonReader jsonReader)
Reads an instance of Recurrence from the JsonReader.
Parameters:
Returns:
Throws:
interval
public Integer interval()
Get the interval property: [Required] Specifies schedule interval in conjunction with frequency.
Returns:
schedule
public ComputeRecurrenceSchedule schedule()
Get the schedule property: [Required] The recurrence schedule.
Returns:
startTime
public String startTime()
Get the startTime property: The start time in yyyy-MM-ddTHH:mm:ss format.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFrequency
public Recurrence withFrequency(ComputeRecurrenceFrequency frequency)
Set the frequency property: [Required] The frequency to trigger schedule.
Parameters:
Returns:
withInterval
public Recurrence withInterval(Integer interval)
Set the interval property: [Required] Specifies schedule interval in conjunction with frequency.
Parameters:
Returns:
withSchedule
public Recurrence withSchedule(ComputeRecurrenceSchedule schedule)
Set the schedule property: [Required] The recurrence schedule.
Parameters:
Returns:
withStartTime
public Recurrence withStartTime(String startTime)
Set the startTime property: The start time in yyyy-MM-ddTHH:mm:ss format.
Parameters:
Returns:
withTimeZone
public Recurrence withTimeZone(String timeZone)
Set the timeZone property: Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11.
Parameters:
Returns: