Class JobScheduleProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.JobScheduleProperties
Definition of job schedule parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the jobScheduleId property: Gets or sets the id of job schedule.Get the parameters property: Gets or sets the parameters of the job schedule.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.withJobScheduleId
(String jobScheduleId) Set the jobScheduleId property: Gets or sets the id of job schedule.withParameters
(Map<String, String> parameters) Set the parameters property: Gets or sets the parameters of the job schedule.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
-
JobScheduleProperties
public JobScheduleProperties()
-
-
Method Details
-
jobScheduleId
Get the jobScheduleId property: Gets or sets the id of job schedule.- Returns:
- the jobScheduleId value.
-
withJobScheduleId
Set the jobScheduleId property: Gets or sets the id of job schedule.- Parameters:
jobScheduleId
- the jobScheduleId value to set.- Returns:
- the JobScheduleProperties object itself.
-
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 JobScheduleProperties 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 JobScheduleProperties 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 JobScheduleProperties object itself.
-
parameters
Get the parameters property: Gets or sets the parameters of the job schedule.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Gets or sets the parameters of the job schedule.- Parameters:
parameters
- the parameters value to set.- Returns:
- the JobScheduleProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-