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 Details

    • ApplicableScheduleInner

      public ApplicableScheduleInner()
      Creates an instance of ApplicableScheduleInner class.
  • Method Details

    • withLocation

      public ApplicableScheduleInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ApplicableScheduleInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • labVmsShutdown

      public ScheduleInner 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

      public ApplicableScheduleInner withLabVmsShutdown(ScheduleInner labVmsShutdown)
      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

      public ScheduleInner 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

      public ApplicableScheduleInner withLabVmsStartup(ScheduleInner labVmsStartup)
      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.