Class ScheduleProperties

java.lang.Object
com.azure.resourcemanager.labservices.fluent.models.ScheduleUpdateProperties
com.azure.resourcemanager.labservices.fluent.models.ScheduleProperties

public final class ScheduleProperties extends ScheduleUpdateProperties
Schedule resource properties.
  • Constructor Details

    • ScheduleProperties

      public ScheduleProperties()
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Current provisioning state of the schedule.
      Returns:
      the provisioningState value.
    • withStartAt

      public ScheduleProperties withStartAt(OffsetDateTime startAt)
      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 class ScheduleUpdateProperties
      Parameters:
      startAt - the startAt value to set.
      Returns:
      the ScheduleUpdateProperties object itself.
    • withStopAt

      public ScheduleProperties withStopAt(OffsetDateTime stopAt)
      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 class ScheduleUpdateProperties
      Parameters:
      stopAt - the stopAt value to set.
      Returns:
      the ScheduleUpdateProperties object itself.
    • withRecurrencePattern

      public ScheduleProperties withRecurrencePattern(RecurrencePattern recurrencePattern)
      Set the recurrencePattern property: The recurrence pattern of the scheduled actions.
      Overrides:
      withRecurrencePattern in class ScheduleUpdateProperties
      Parameters:
      recurrencePattern - the recurrencePattern value to set.
      Returns:
      the ScheduleUpdateProperties object itself.
    • withTimeZoneId

      public ScheduleProperties withTimeZoneId(String timeZoneId)
      Set the timeZoneId property: The IANA timezone id for the schedule.
      Overrides:
      withTimeZoneId in class ScheduleUpdateProperties
      Parameters:
      timeZoneId - the timeZoneId value to set.
      Returns:
      the ScheduleUpdateProperties object itself.
    • withNotes

      public ScheduleProperties withNotes(String notes)
      Set the notes property: Notes for this schedule.
      Overrides:
      withNotes in class ScheduleUpdateProperties
      Parameters:
      notes - the notes value to set.
      Returns:
      the ScheduleUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ScheduleUpdateProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.