JobScheduleAddParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobScheduleAddParameter
- com.
public class JobScheduleAddParameter
A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job.
Constructor Summary
Constructor | Description | |
---|---|---|
JobScheduleAddParameter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
displayName()
Get the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. |
String |
id()
Get the ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. |
Job |
jobSpecification()
Get the job |
List<Metadata |
metadata()
Get the Batch service does not assign any meaning to metadata; it is solely for the use of user code. |
Schedule |
schedule()
Get all times are fixed respective to UTC and are not impacted by daylight saving time. |
Job |
withDisplayName(String displayName)
Set the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. |
Job |
withId(String id)
Set the ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. |
Job |
withJobSpecification(JobSpecification jobSpecification)
Set the job |
Job |
withMetadata(List<MetadataItem> metadata)
Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code. |
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
JobScheduleAddParameter
public JobScheduleAddParameter()
Method Details
displayName
public String displayName()
Get the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
Returns:
id
public String id()
Get the ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case).
Returns:
jobSpecification
public JobSpecification jobSpecification()
Get the jobSpecification value.
Returns:
metadata
public List
Get the Batch service does not assign any meaning to metadata; it is solely for the use of user code.
Returns:
schedule
public Schedule schedule()
Get all times are fixed respective to UTC and are not impacted by daylight saving time.
Returns:
withDisplayName
public JobScheduleAddParameter withDisplayName(String displayName)
Set the display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
Parameters:
Returns:
withId
public JobScheduleAddParameter withId(String id)
Set the ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case).
Parameters:
Returns:
withJobSpecification
public JobScheduleAddParameter withJobSpecification(JobSpecification jobSpecification)
Set the jobSpecification value.
Parameters:
Returns:
withMetadata
public JobScheduleAddParameter withMetadata(List
Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code.
Parameters:
Returns:
withSchedule
public JobScheduleAddParameter withSchedule(Schedule schedule)
Set all times are fixed respective to UTC and are not impacted by daylight saving time.
Parameters:
Returns:
Applies to
Azure SDK for Java