ScheduleUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. TrackedResourceUpdate - com.
azure. resourcemanager. devcenter. fluent. models. ScheduleUpdateProperties
- com.
- com.
public class ScheduleUpdateProperties
extends TrackedResourceUpdate
Updatable properties of a Schedule.
Constructor Summary
| Constructor | Description |
|---|---|
| ScheduleUpdateProperties() |
Creates an instance of Schedule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Scheduled |
frequency()
Get the frequency property: The frequency of this scheduled task. |
|
static
Schedule |
fromJson(JsonReader jsonReader)
Reads an instance of Schedule |
|
Schedule |
state()
Get the state property: Indicates whether or not this scheduled task is enabled. |
| String |
time()
Get the time property: The target time to trigger the action. |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Scheduled |
type()
Get the type property: Supported type this scheduled task represents. |
| void |
validate()
Validates the instance. |
|
Schedule |
withFrequency(ScheduledFrequency frequency)
Set the frequency property: The frequency of this scheduled task. |
|
Schedule |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Schedule |
withState(ScheduleEnableStatus state)
Set the state property: Indicates whether or not this scheduled task is enabled. |
|
Schedule |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Schedule |
withTime(String time)
Set the time property: The target time to trigger the action. |
|
Schedule |
withTimeZone(String timeZone)
Set the time |
|
Schedule |
withType(ScheduledType type)
Set the type property: Supported type this scheduled task represents. |
Methods inherited from TrackedResourceUpdate
Methods inherited from java.lang.Object
Constructor Details
ScheduleUpdateProperties
public ScheduleUpdateProperties()
Creates an instance of ScheduleUpdateProperties class.
Method Details
frequency
public ScheduledFrequency frequency()
Get the frequency property: The frequency of this scheduled task.
Returns:
fromJson
public static ScheduleUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of ScheduleUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
state
public ScheduleEnableStatus state()
Get the state property: Indicates whether or not this scheduled task is enabled.
Returns:
time
public String time()
Get the time property: The target time to trigger the action. The format is HH:MM.
Returns:
timeZone
public String timeZone()
Get the timeZone property: The IANA timezone id at which the schedule should execute.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScheduleUpdateProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public ScheduledType type()
Get the type property: Supported type this scheduled task represents.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
ScheduleUpdateProperties.validate()withFrequency
public ScheduleUpdateProperties withFrequency(ScheduledFrequency frequency)
Set the frequency property: The frequency of this scheduled task.
Parameters:
Returns:
withLocation
public ScheduleUpdateProperties withLocation(String location)
Set the location property: The geo-location where the resource lives.
Overrides:
ScheduleUpdateProperties.withLocation(String location)Parameters:
withState
public ScheduleUpdateProperties withState(ScheduleEnableStatus state)
Set the state property: Indicates whether or not this scheduled task is enabled.
Parameters:
Returns:
withTags
public ScheduleUpdateProperties withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
ScheduleUpdateProperties.withTags(Map<String,String> tags)Parameters:
withTime
public ScheduleUpdateProperties withTime(String time)
Set the time property: The target time to trigger the action. The format is HH:MM.
Parameters:
Returns:
withTimeZone
public ScheduleUpdateProperties withTimeZone(String timeZone)
Set the timeZone property: The IANA timezone id at which the schedule should execute.
Parameters:
Returns:
withType
public ScheduleUpdateProperties withType(ScheduledType type)
Set the type property: Supported type this scheduled task represents.
Parameters:
Returns: