Class JobScheduleInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.JobScheduleInner
Definition of the job schedule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: Gets the id of the resource.Get the jobScheduleId property: Gets or sets the id of job schedule.name()
Get the name property: Gets the name of the variable.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.type()
Get the type property: Resource type.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
-
JobScheduleInner
public JobScheduleInner()
-
-
Method Details
-
id
Get the id property: Gets the id of the resource.- Returns:
- the id value.
-
name
Get the name property: Gets the name of the variable.- Returns:
- the name value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
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 JobScheduleInner 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 JobScheduleInner 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 JobScheduleInner 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 JobScheduleInner 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 JobScheduleInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-