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.
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. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an account that differ only by case). |
Job |
jobSpecification()
Get the jobSpecification value. |
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 the schedule value. |
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. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an account that differ only by case). |
Job |
withJobSpecification(JobSpecification jobSpecification)
Set the jobSpecification value. |
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 the schedule value. |
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 the schedule value.
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 the schedule value.
Parameters:
Returns:
Applies to
Azure SDK for Java