Class JobScheduleUpdateParameter
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.JobScheduleUpdateParameter
-
public class JobScheduleUpdateParameter extends Object
The set of changes to be made to a Job Schedule.
-
-
Constructor Summary
Constructors Constructor Description JobScheduleUpdateParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobSpecification
jobSpecification()
Get updates affect only Jobs that are started after the update has taken place.List<MetadataItem>
metadata()
Get if you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted.Schedule
schedule()
Get all times are fixed respective to UTC and are not impacted by daylight saving time.JobScheduleUpdateParameter
withJobSpecification(JobSpecification jobSpecification)
Set updates affect only Jobs that are started after the update has taken place.JobScheduleUpdateParameter
withMetadata(List<MetadataItem> metadata)
Set if you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted.JobScheduleUpdateParameter
withSchedule(Schedule schedule)
Set all times are fixed respective to UTC and are not impacted by daylight saving time.
-
-
-
Method Detail
-
schedule
public Schedule schedule()
Get all times are fixed respective to UTC and are not impacted by daylight saving time. If you do not specify this element, it is equivalent to passing the default schedule: that is, a single Job scheduled to run immediately.- Returns:
- the schedule value
-
withSchedule
public JobScheduleUpdateParameter withSchedule(Schedule schedule)
Set all times are fixed respective to UTC and are not impacted by daylight saving time. If you do not specify this element, it is equivalent to passing the default schedule: that is, a single Job scheduled to run immediately.- Parameters:
schedule
- the schedule value to set- Returns:
- the JobScheduleUpdateParameter object itself.
-
jobSpecification
public JobSpecification jobSpecification()
Get updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification.- Returns:
- the jobSpecification value
-
withJobSpecification
public JobScheduleUpdateParameter withJobSpecification(JobSpecification jobSpecification)
Set updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification.- Parameters:
jobSpecification
- the jobSpecification value to set- Returns:
- the JobScheduleUpdateParameter object itself.
-
metadata
public List<MetadataItem> metadata()
Get if you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted.- Returns:
- the metadata value
-
withMetadata
public JobScheduleUpdateParameter withMetadata(List<MetadataItem> metadata)
Set if you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted.- Parameters:
metadata
- the metadata value to set- Returns:
- the JobScheduleUpdateParameter object itself.
-
-