Class ScheduleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.labservices.fluent.models.ScheduleInner
public final class ScheduleInner
extends com.azure.core.management.ProxyResource
Schedule for automatically turning virtual machines in a lab on and off at specified times.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnotes()
Get the notes property: Notes for this schedule.Get the provisioningState property: Current provisioning state of the schedule.Get the recurrencePattern property: The recurrence pattern of the scheduled actions.startAt()
Get the startAt property: When lab user virtual machines will be started.stopAt()
Get the stopAt property: When lab user virtual machines will be stopped.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the schedule.Get the timeZoneId property: The IANA timezone id for 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.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ScheduleInner
public ScheduleInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the schedule.- Returns:
- the systemData value.
-
provisioningState
Get the provisioningState property: Current provisioning state of the schedule.- Returns:
- the provisioningState value.
-
startAt
Get the startAt property: When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.- Returns:
- the startAt value.
-
withStartAt
Set the startAt property: When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.- Parameters:
startAt
- the startAt value to set.- Returns:
- the ScheduleInner object itself.
-
stopAt
Get the stopAt property: When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.- Returns:
- the stopAt value.
-
withStopAt
Set the stopAt property: When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.- Parameters:
stopAt
- the stopAt value to set.- Returns:
- the ScheduleInner object itself.
-
recurrencePattern
Get the recurrencePattern property: The recurrence pattern of the scheduled actions.- Returns:
- the recurrencePattern value.
-
withRecurrencePattern
Set the recurrencePattern property: The recurrence pattern of the scheduled actions.- Parameters:
recurrencePattern
- the recurrencePattern value to set.- Returns:
- the ScheduleInner object itself.
-
timeZoneId
Get the timeZoneId property: The IANA timezone id for the schedule.- Returns:
- the timeZoneId value.
-
withTimeZoneId
Set the timeZoneId property: The IANA timezone id for the schedule.- Parameters:
timeZoneId
- the timeZoneId value to set.- Returns:
- the ScheduleInner object itself.
-
notes
Get the notes property: Notes for this schedule.- Returns:
- the notes value.
-
withNotes
Set the notes property: Notes for this schedule.- Parameters:
notes
- the notes value to set.- Returns:
- the ScheduleInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-