Class ScheduleProperties
java.lang.Object
com.azure.resourcemanager.labservices.fluent.models.ScheduleUpdateProperties
com.azure.resourcemanager.labservices.fluent.models.ScheduleProperties
Schedule resource properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: Current provisioning state of the schedule.void
validate()
Validates the instance.Set the notes property: Notes for this schedule.withRecurrencePattern
(RecurrencePattern recurrencePattern) Set the recurrencePattern property: The recurrence pattern of the scheduled actions.withStartAt
(OffsetDateTime startAt) Set the startAt property: When lab user virtual machines will be started.withStopAt
(OffsetDateTime stopAt) Set the stopAt property: When lab user virtual machines will be stopped.withTimeZoneId
(String timeZoneId) Set the timeZoneId property: The IANA timezone id for the schedule.Methods inherited from class com.azure.resourcemanager.labservices.fluent.models.ScheduleUpdateProperties
notes, recurrencePattern, startAt, stopAt, timeZoneId
-
Constructor Details
-
ScheduleProperties
public ScheduleProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: Current provisioning state of the schedule.- Returns:
- the provisioningState value.
-
withStartAt
Set the startAt property: When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.- Overrides:
withStartAt
in classScheduleUpdateProperties
- Parameters:
startAt
- the startAt value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
withStopAt
Set the stopAt property: When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.- Overrides:
withStopAt
in classScheduleUpdateProperties
- Parameters:
stopAt
- the stopAt value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
withRecurrencePattern
Set the recurrencePattern property: The recurrence pattern of the scheduled actions.- Overrides:
withRecurrencePattern
in classScheduleUpdateProperties
- Parameters:
recurrencePattern
- the recurrencePattern value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
withTimeZoneId
Set the timeZoneId property: The IANA timezone id for the schedule.- Overrides:
withTimeZoneId
in classScheduleUpdateProperties
- Parameters:
timeZoneId
- the timeZoneId value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
withNotes
Set the notes property: Notes for this schedule.- Overrides:
withNotes
in classScheduleUpdateProperties
- Parameters:
notes
- the notes value to set.- Returns:
- the ScheduleUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classScheduleUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-