ScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. devcenter. fluent. models. ScheduleInner
- com.
- com.
public final class ScheduleInner
extends ProxyResource
Represents a Schedule to execute a task.
Constructor Summary
| Constructor | Description |
|---|---|
| ScheduleInner() |
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 |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Schedule |
state()
Get the state property: Indicates whether or not this scheduled task is enabled. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
| String |
time()
Get the time property: The target time to trigger the action. |
| String |
timeZone()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Scheduled |
typePropertiesType()
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 |
withTypePropertiesType(ScheduledType type)
Set the type property: Supported type this scheduled task represents. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ScheduleInner
public ScheduleInner()
Creates an instance of ScheduleInner class.
Method Details
frequency
public ScheduledFrequency frequency()
Get the frequency property: The frequency of this scheduled task.
Returns:
fromJson
public static ScheduleInner fromJson(JsonReader jsonReader)
Reads an instance of ScheduleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ScheduleInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ScheduleInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
state
public ScheduleEnableStatus state()
Get the state property: Indicates whether or not this scheduled task is enabled.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
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:
ScheduleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ScheduleInner.type()Returns:
typePropertiesType
public ScheduledType typePropertiesType()
Get the type property: Supported type this scheduled task represents.
Returns:
validate
public void validate()
Validates the instance.
withFrequency
public ScheduleInner withFrequency(ScheduledFrequency frequency)
Set the frequency property: The frequency of this scheduled task.
Parameters:
Returns:
withLocation
public ScheduleInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withState
public ScheduleInner withState(ScheduleEnableStatus state)
Set the state property: Indicates whether or not this scheduled task is enabled.
Parameters:
Returns:
withTags
public ScheduleInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withTime
public ScheduleInner withTime(String time)
Set the time property: The target time to trigger the action. The format is HH:MM.
Parameters:
Returns:
withTimeZone
public ScheduleInner withTimeZone(String timeZone)
Set the timeZone property: The IANA timezone id at which the schedule should execute.
Parameters:
Returns:
withTypePropertiesType
public ScheduleInner withTypePropertiesType(ScheduledType type)
Set the type property: Supported type this scheduled task represents.
Parameters:
Returns: