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

public final class ScheduleInner extends com.azure.core.management.ProxyResource
Represents a Schedule to execute a task.
  • Constructor Details

    • ScheduleInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • typePropertiesType

      public ScheduledType typePropertiesType()
      Get the type property: Supported type this scheduled task represents.
      Returns:
      the type value.
    • withTypePropertiesType

      public ScheduleInner withTypePropertiesType(ScheduledType type)
      Set the type property: Supported type this scheduled task represents.
      Parameters:
      type - the type value to set.
      Returns:
      the ScheduleInner object itself.
    • frequency

      public ScheduledFrequency frequency()
      Get the frequency property: The frequency of this scheduled task.
      Returns:
      the frequency value.
    • withFrequency

      public ScheduleInner withFrequency(ScheduledFrequency frequency)
      Set the frequency property: The frequency of this scheduled task.
      Parameters:
      frequency - the frequency value to set.
      Returns:
      the ScheduleInner object itself.
    • time

      public String time()
      Get the time property: The target time to trigger the action. The format is HH:MM.
      Returns:
      the time value.
    • withTime

      public ScheduleInner withTime(String time)
      Set the time property: The target time to trigger the action. The format is HH:MM.
      Parameters:
      time - the time value to set.
      Returns:
      the ScheduleInner object itself.
    • timeZone

      public String timeZone()
      Get the timeZone property: The IANA timezone id at which the schedule should execute.
      Returns:
      the timeZone value.
    • withTimeZone

      public ScheduleInner withTimeZone(String timeZone)
      Set the timeZone property: The IANA timezone id at which the schedule should execute.
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the ScheduleInner object itself.
    • state

      public EnableStatus state()
      Get the state property: Indicates whether or not this scheduled task is enabled.
      Returns:
      the state value.
    • withState

      public ScheduleInner withState(EnableStatus state)
      Set the state property: Indicates whether or not this scheduled task is enabled.
      Parameters:
      state - the state value to set.
      Returns:
      the ScheduleInner object itself.
    • validate

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