Class ScheduleUpdateProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.ScheduleUpdateProperties
- Direct Known Subclasses:
ScheduleProperties
Updatable properties of a Schedule.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ScheduleUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the frequency property: The frequency of this scheduled task.state()
Get the state property: Indicates whether or not this scheduled task is enabled.time()
Get the time property: The target time to trigger the action.timeZone()
Get the timeZone property: The IANA timezone id at which the schedule should execute.type()
Get the type property: Supported type this scheduled task represents.void
validate()
Validates the instance.withFrequency
(ScheduledFrequency frequency) Set the frequency property: The frequency of this scheduled task.withState
(EnableStatus state) Set the state property: Indicates whether or not this scheduled task is enabled.Set the time property: The target time to trigger the action.withTimeZone
(String timeZone) Set the timeZone property: The IANA timezone id at which the schedule should execute.withType
(ScheduledType type) Set the type property: Supported type this scheduled task represents.
-
Constructor Details
-
ScheduleUpdateProperties
public ScheduleUpdateProperties()Creates an instance of ScheduleUpdateProperties class.
-
-
Method Details
-
type
Get the type property: Supported type this scheduled task represents.- Returns:
- the type value.
-
withType
Set the type property: Supported type this scheduled task represents.- Parameters:
type
- the type value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
frequency
Get the frequency property: The frequency of this scheduled task.- Returns:
- the frequency value.
-
withFrequency
Set the frequency property: The frequency of this scheduled task.- Parameters:
frequency
- the frequency value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
time
Get the time property: The target time to trigger the action. The format is HH:MM.- Returns:
- the time value.
-
withTime
Set the time property: The target time to trigger the action. The format is HH:MM.- Parameters:
time
- the time value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
timeZone
Get the timeZone property: The IANA timezone id at which the schedule should execute.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: The IANA timezone id at which the schedule should execute.- Parameters:
timeZone
- the timeZone value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
state
Get the state property: Indicates whether or not this scheduled task is enabled.- Returns:
- the state value.
-
withState
Set the state property: Indicates whether or not this scheduled task is enabled.- Parameters:
state
- the state value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-