DevBoxSchedule Class
- java.
lang. Object - com.
azure. developer. devcenter. models. DevBoxSchedule
- com.
Implements
public final class DevBoxSchedule
implements JsonSerializable<DevBoxSchedule>
A Schedule to execute action.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dev |
fromJson(JsonReader jsonReader)
Reads an instance of Dev |
| String |
getName()
Get the name property: Display name for the Schedule. |
|
Schedule |
getScheduleFrequency()
Get the schedule |
|
Schedule |
getScheduleType()
Get the schedule |
|
Local |
getTime()
Get the time property: The target time to trigger the action. |
| String |
getTimeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DevBoxSchedule fromJson(JsonReader jsonReader)
Reads an instance of DevBoxSchedule from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: Display name for the Schedule.
Returns:
getScheduleFrequency
public ScheduleFrequency getScheduleFrequency()
Get the scheduleFrequency property: The frequency of this scheduled task.
Returns:
getScheduleType
public ScheduleType getScheduleType()
Get the scheduleType property: Supported type this scheduled task represents.
Returns:
getTime
public LocalTime getTime()
Get the time property: The target time to trigger the action. The format is HH:MM.
Returns:
getTimeZone
public String getTimeZone()
Get the timeZone property: The IANA timezone id at which the schedule should execute.
Returns: