Class JobCreateProperties

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

public final class JobCreateProperties extends Object
The JobCreateProperties model.
  • Constructor Details

    • JobCreateProperties

      public JobCreateProperties()
  • Method Details

    • runbook

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

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

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

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

      public String runOn()
      Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.
      Returns:
      the runOn value.
    • withRunOn

      public JobCreateProperties withRunOn(String runOn)
      Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.
      Parameters:
      runOn - the runOn value to set.
      Returns:
      the JobCreateProperties object itself.
    • validate

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