Class ScheduleCreateOrUpdateProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.ScheduleCreateOrUpdateProperties

public final class ScheduleCreateOrUpdateProperties extends Object
The parameters supplied to the create or update schedule operation.
  • Constructor Details

    • ScheduleCreateOrUpdateProperties

      public ScheduleCreateOrUpdateProperties()
  • Method Details

    • description

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

      public ScheduleCreateOrUpdateProperties withDescription(String description)
      Set the description property: Gets or sets the description of the schedule.
      Parameters:
      description - the description value to set.
      Returns:
      the ScheduleCreateOrUpdateProperties object itself.
    • startTime

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

      public ScheduleCreateOrUpdateProperties 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 ScheduleCreateOrUpdateProperties object itself.
    • expiryTime

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

      public ScheduleCreateOrUpdateProperties 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 ScheduleCreateOrUpdateProperties object itself.
    • interval

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

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

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

      public ScheduleCreateOrUpdateProperties withFrequency(ScheduleFrequency frequency)
      Set the frequency property: Gets or sets the frequency of the schedule.
      Parameters:
      frequency - the frequency value to set.
      Returns:
      the ScheduleCreateOrUpdateProperties 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 ScheduleCreateOrUpdateProperties 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 ScheduleCreateOrUpdateProperties object itself.
    • advancedSchedule

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

      public ScheduleCreateOrUpdateProperties withAdvancedSchedule(AdvancedSchedule advancedSchedule)
      Set the advancedSchedule property: Gets or sets the AdvancedSchedule.
      Parameters:
      advancedSchedule - the advancedSchedule value to set.
      Returns:
      the ScheduleCreateOrUpdateProperties object itself.
    • validate

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