JobSchedulePatchParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobSchedulePatchParameter
- com.
public class JobSchedulePatchParameter
The set of changes to be made to a job schedule.
Method Summary
Modifier and Type | Method and Description |
---|---|
Job |
jobSpecification()
Get updates affect only jobs that are started after the update has taken place. Any currently active job continues with the older specification. |
List<Metadata |
metadata()
Get if you do not specify this element, existing metadata is left unchanged. |
Schedule |
schedule()
Get if you do not specify this element, the existing schedule is left unchanged. |
Job |
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. |
Job |
withMetadata(List<MetadataItem> metadata)
Set if you do not specify this element, existing metadata is left unchanged. |
Job |
withSchedule(Schedule schedule)
Set if you do not specify this element, the existing schedule is left unchanged. |
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, existing metadata is left unchanged.
Returns:
schedule
public Schedule schedule()
Get if you do not specify this element, the existing schedule is left unchanged.
Returns:
withJobSpecification
public JobSchedulePatchParameter 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 JobSchedulePatchParameter withMetadata(List
Set if you do not specify this element, existing metadata is left unchanged.
Parameters:
Returns:
withSchedule
public JobSchedulePatchParameter withSchedule(Schedule schedule)
Set if you do not specify this element, the existing schedule is left unchanged.
Parameters:
Returns: