JobSchedulePatchParameter Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.JobSchedulePatchParameter

public class JobSchedulePatchParameter

The set of changes to be made to a Job Schedule.

Constructor Summary

Constructor Description
JobSchedulePatchParameter()

Method Summary

Modifier and Type Method and 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, existing metadata is left unchanged.

Schedule schedule()

Get all times are fixed respective to UTC and are not impacted by daylight saving time.

JobSchedulePatchParameter withJobSpecification(JobSpecification jobSpecification)

Set updates affect only Jobs that are started after the update has taken place.

JobSchedulePatchParameter withMetadata(List<MetadataItem> metadata)

Set if you do not specify this element, existing metadata is left unchanged.

JobSchedulePatchParameter 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

JobSchedulePatchParameter

public JobSchedulePatchParameter()

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:

the jobSpecification value

metadata

public List metadata()

Get if you do not specify this element, existing metadata is left unchanged.

Returns:

the metadata value

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, the existing schedule is left unchanged.

Returns:

the schedule value

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:

jobSpecification - the jobSpecification value to set

Returns:

the JobSchedulePatchParameter object itself.

withMetadata

public JobSchedulePatchParameter withMetadata(List metadata)

Set if you do not specify this element, existing metadata is left unchanged.

Parameters:

metadata - the metadata value to set

Returns:

the JobSchedulePatchParameter object itself.

withSchedule

public JobSchedulePatchParameter 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, the existing schedule is left unchanged.

Parameters:

schedule - the schedule value to set

Returns:

the JobSchedulePatchParameter object itself.

Applies to