JobScheduleUpdateParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobScheduleUpdateParameter
- com.
public class JobScheduleUpdateParameter
The set of changes to be made to a Job Schedule.
Constructor Summary
Constructor | Description | |
---|---|---|
JobScheduleUpdateParameter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Job |
jobSpecification()
Get updates affect only Jobs that are started after the update has taken place. |
List<Metadata |
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. |
Job |
withJobSpecification(JobSpecification jobSpecification)
Set updates affect only Jobs that are started after the update has taken place. |
Job |
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. |
Job |
withSchedule(Schedule schedule)
Set all times are fixed respective to UTC and are not impacted by daylight saving time. |
Methods inherited from java.lang.Object
Constructor Details
JobScheduleUpdateParameter
public JobScheduleUpdateParameter()
Method Details
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:
metadata
public List
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:
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:
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:
Returns:
withMetadata
public JobScheduleUpdateParameter withMetadata(List
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java