java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.ScheduleInner

public final class ScheduleInner extends com.azure.core.management.ProxyResource
Definition of the schedule.
  • Constructor Details

    • ScheduleInner

      public ScheduleInner()
  • Method Details

    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Gets or sets the start time of the schedule.
      Returns:
      the startTime value.
    • withStartTime

      public ScheduleInner withStartTime(OffsetDateTime startTime)
      Set the startTime property: Gets or sets the start time of the schedule.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the ScheduleInner object itself.
    • startTimeOffsetMinutes

      public Double startTimeOffsetMinutes()
      Get the startTimeOffsetMinutes property: Gets the start time's offset in minutes.
      Returns:
      the startTimeOffsetMinutes value.
    • expiryTime

      public OffsetDateTime expiryTime()
      Get the expiryTime property: Gets or sets the end time of the schedule.
      Returns:
      the expiryTime value.
    • withExpiryTime

      public ScheduleInner withExpiryTime(OffsetDateTime expiryTime)
      Set the expiryTime property: Gets or sets the end time of the schedule.
      Parameters:
      expiryTime - the expiryTime value to set.
      Returns:
      the ScheduleInner object itself.
    • expiryTimeOffsetMinutes

      public Double expiryTimeOffsetMinutes()
      Get the expiryTimeOffsetMinutes property: Gets or sets the expiry time's offset in minutes.
      Returns:
      the expiryTimeOffsetMinutes value.
    • withExpiryTimeOffsetMinutes

      public ScheduleInner withExpiryTimeOffsetMinutes(Double expiryTimeOffsetMinutes)
      Set the expiryTimeOffsetMinutes property: Gets or sets the expiry time's offset in minutes.
      Parameters:
      expiryTimeOffsetMinutes - the expiryTimeOffsetMinutes value to set.
      Returns:
      the ScheduleInner object itself.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: Gets or sets a value indicating whether this schedule is enabled.
      Returns:
      the isEnabled value.
    • withIsEnabled

      public ScheduleInner withIsEnabled(Boolean isEnabled)
      Set the isEnabled property: Gets or sets a value indicating whether this schedule is enabled.
      Parameters:
      isEnabled - the isEnabled value to set.
      Returns:
      the ScheduleInner object itself.
    • nextRun

      public OffsetDateTime nextRun()
      Get the nextRun property: Gets or sets the next run time of the schedule.
      Returns:
      the nextRun value.
    • withNextRun

      public ScheduleInner withNextRun(OffsetDateTime nextRun)
      Set the nextRun property: Gets or sets the next run time of the schedule.
      Parameters:
      nextRun - the nextRun value to set.
      Returns:
      the ScheduleInner object itself.
    • nextRunOffsetMinutes

      public Double nextRunOffsetMinutes()
      Get the nextRunOffsetMinutes property: Gets or sets the next run time's offset in minutes.
      Returns:
      the nextRunOffsetMinutes value.
    • withNextRunOffsetMinutes

      public ScheduleInner withNextRunOffsetMinutes(Double nextRunOffsetMinutes)
      Set the nextRunOffsetMinutes property: Gets or sets the next run time's offset in minutes.
      Parameters:
      nextRunOffsetMinutes - the nextRunOffsetMinutes value to set.
      Returns:
      the ScheduleInner object itself.
    • interval

      public Object interval()
      Get the interval property: Gets or sets the interval of the schedule.
      Returns:
      the interval value.
    • withInterval

      public ScheduleInner withInterval(Object interval)
      Set the interval property: Gets or sets the interval of the schedule.
      Parameters:
      interval - the interval value to set.
      Returns:
      the ScheduleInner object itself.
    • frequency

      public ScheduleFrequency frequency()
      Get the frequency property: Gets or sets the frequency of the schedule.
      Returns:
      the frequency value.
    • withFrequency

      public ScheduleInner withFrequency(ScheduleFrequency frequency)
      Set the frequency property: Gets or sets the frequency of the schedule.
      Parameters:
      frequency - the frequency value to set.
      Returns:
      the ScheduleInner object itself.
    • timeZone

      public String timeZone()
      Get the timeZone property: Gets or sets the time zone of the schedule.
      Returns:
      the timeZone value.
    • withTimeZone

      public ScheduleInner withTimeZone(String timeZone)
      Set the timeZone property: Gets or sets the time zone of the schedule.
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the ScheduleInner object itself.
    • advancedSchedule

      public AdvancedSchedule advancedSchedule()
      Get the advancedSchedule property: Gets or sets the advanced schedule.
      Returns:
      the advancedSchedule value.
    • withAdvancedSchedule

      public ScheduleInner withAdvancedSchedule(AdvancedSchedule advancedSchedule)
      Set the advancedSchedule property: Gets or sets the advanced schedule.
      Parameters:
      advancedSchedule - the advancedSchedule value to set.
      Returns:
      the ScheduleInner object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Gets or sets the creation time.
      Returns:
      the creationTime value.
    • withCreationTime

      public ScheduleInner withCreationTime(OffsetDateTime creationTime)
      Set the creationTime property: Gets or sets the creation time.
      Parameters:
      creationTime - the creationTime value to set.
      Returns:
      the ScheduleInner object itself.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets or sets the last modified time.
      Returns:
      the lastModifiedTime value.
    • withLastModifiedTime

      public ScheduleInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
      Set the lastModifiedTime property: Gets or sets the last modified time.
      Parameters:
      lastModifiedTime - the lastModifiedTime value to set.
      Returns:
      the ScheduleInner object itself.
    • description

      public String description()
      Get the description property: Gets or sets the description.
      Returns:
      the description value.
    • withDescription

      public ScheduleInner withDescription(String description)
      Set the description property: Gets or sets the description.
      Parameters:
      description - the description value to set.
      Returns:
      the ScheduleInner object itself.
    • validate

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