Class JobScheduleCreateProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.JobScheduleCreateProperties
The parameters supplied to the create job schedule operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the parameters property: Gets or sets a list of job properties.runbook()
Get the runbook property: Gets or sets the runbook.runOn()
Get the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.schedule()
Get the schedule property: Gets or sets the schedule.void
validate()
Validates the instance.withParameters
(Map<String, String> parameters) Set the parameters property: Gets or sets a list of job properties.withRunbook
(RunbookAssociationProperty runbook) Set the runbook property: Gets or sets the runbook.Set the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.withSchedule
(ScheduleAssociationProperty schedule) Set the schedule property: Gets or sets the schedule.
-
Constructor Details
-
JobScheduleCreateProperties
public JobScheduleCreateProperties()
-
-
Method Details
-
schedule
Get the schedule property: Gets or sets the schedule.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Gets or sets the schedule.- Parameters:
schedule
- the schedule value to set.- Returns:
- the JobScheduleCreateProperties object itself.
-
runbook
Get the runbook property: Gets or sets the runbook.- Returns:
- the runbook value.
-
withRunbook
Set the runbook property: Gets or sets the runbook.- Parameters:
runbook
- the runbook value to set.- Returns:
- the JobScheduleCreateProperties object itself.
-
runOn
Get the runOn property: Gets or sets the hybrid worker group that the scheduled job should run on.- Returns:
- the runOn value.
-
withRunOn
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 JobScheduleCreateProperties object itself.
-
parameters
Get the parameters property: Gets or sets a list of job properties.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Gets or sets a list of job properties.- Parameters:
parameters
- the parameters value to set.- Returns:
- the JobScheduleCreateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-