Class JobScheduleInner

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

public final class JobScheduleInner extends Object
Definition of the job schedule.
  • Constructor Details

    • JobScheduleInner

      public JobScheduleInner()
  • Method Details

    • id

      public String id()
      Get the id property: Gets the id of the resource.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Gets the name of the variable.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • jobScheduleId

      public String jobScheduleId()
      Get the jobScheduleId property: Gets or sets the id of job schedule.
      Returns:
      the jobScheduleId value.
    • withJobScheduleId

      public JobScheduleInner withJobScheduleId(String jobScheduleId)
      Set the jobScheduleId property: Gets or sets the id of job schedule.
      Parameters:
      jobScheduleId - the jobScheduleId value to set.
      Returns:
      the JobScheduleInner object itself.
    • schedule

      public ScheduleAssociationProperty schedule()
      Get the schedule property: Gets or sets the schedule.
      Returns:
      the schedule value.
    • withSchedule

      public JobScheduleInner withSchedule(ScheduleAssociationProperty schedule)
      Set the schedule property: Gets or sets the schedule.
      Parameters:
      schedule - the schedule value to set.
      Returns:
      the JobScheduleInner object itself.
    • runbook

      public RunbookAssociationProperty runbook()
      Get the runbook property: Gets or sets the runbook.
      Returns:
      the runbook value.
    • withRunbook

      public JobScheduleInner withRunbook(RunbookAssociationProperty runbook)
      Set the runbook property: Gets or sets the runbook.
      Parameters:
      runbook - the runbook value to set.
      Returns:
      the JobScheduleInner object itself.
    • runOn

      public String runOn()
      Get the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.
      Returns:
      the runOn value.
    • withRunOn

      public JobScheduleInner withRunOn(String runOn)
      Set the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.
      Parameters:
      runOn - the runOn value to set.
      Returns:
      the JobScheduleInner object itself.
    • parameters

      public Map<String,String> parameters()
      Get the parameters property: Gets or sets the parameters of the job schedule.
      Returns:
      the parameters value.
    • withParameters

      public JobScheduleInner withParameters(Map<String,String> parameters)
      Set the parameters property: Gets or sets the parameters of the job schedule.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the JobScheduleInner object itself.
    • validate

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