Class ApplicableScheduleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.ApplicableScheduleInner
public final class ApplicableScheduleInner
extends com.azure.core.management.Resource
Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApplicableScheduleInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.Get the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.void
validate()
Validates the instance.withLabVmsShutdown
(ScheduleInner labVmsShutdown) Set the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.withLabVmsStartup
(ScheduleInner labVmsStartup) Set the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ApplicableScheduleInner
public ApplicableScheduleInner()Creates an instance of ApplicableScheduleInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
labVmsShutdown
Get the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.- Returns:
- the labVmsShutdown value.
-
withLabVmsShutdown
Set the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.- Parameters:
labVmsShutdown
- the labVmsShutdown value to set.- Returns:
- the ApplicableScheduleInner object itself.
-
labVmsStartup
Get the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.- Returns:
- the labVmsStartup value.
-
withLabVmsStartup
Set the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.- Parameters:
labVmsStartup
- the labVmsStartup value to set.- Returns:
- the ApplicableScheduleInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-