Class ScheduleCreateOrUpdateParameters

java.lang.Object
com.azure.resourcemanager.automation.models.ScheduleCreateOrUpdateParameters

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

    • ScheduleCreateOrUpdateParameters

      public ScheduleCreateOrUpdateParameters()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the Schedule.
      Returns:
      the name value.
    • withName

      public ScheduleCreateOrUpdateParameters withName(String name)
      Set the name property: Gets or sets the name of the Schedule.
      Parameters:
      name - the name value to set.
      Returns:
      the ScheduleCreateOrUpdateParameters object itself.
    • description

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

      public ScheduleCreateOrUpdateParameters withDescription(String description)
      Set the description property: Gets or sets the description of the schedule.
      Parameters:
      description - the description value to set.
      Returns:
      the ScheduleCreateOrUpdateParameters 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 ScheduleCreateOrUpdateParameters 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 ScheduleCreateOrUpdateParameters 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 ScheduleCreateOrUpdateParameters 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 ScheduleCreateOrUpdateParameters object itself.
    • interval

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

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

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

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

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

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

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