Class JobScheduleAddParameter
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.JobScheduleAddParameter
-
public class JobScheduleAddParameter extends Object
A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job.
-
-
Constructor Summary
Constructors Constructor Description JobScheduleAddParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.JobSpecification
jobSpecification()
Get the jobSpecification value.List<MetadataItem>
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.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.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.JobScheduleAddParameter
withJobSpecification(JobSpecification jobSpecification)
Set the jobSpecification value.JobScheduleAddParameter
withMetadata(List<MetadataItem> metadata)
Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code.JobScheduleAddParameter
withSchedule(Schedule schedule)
Set all times are fixed respective to UTC and are not impacted by daylight saving time.
-
-
-
Method Detail
-
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:
- the id value
-
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:
id
- the id value to set- Returns:
- the JobScheduleAddParameter object itself.
-
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:
- the displayName value
-
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:
displayName
- the displayName value to set- Returns:
- the JobScheduleAddParameter object itself.
-
schedule
public Schedule schedule()
Get all times are fixed respective to UTC and are not impacted by daylight saving time.- Returns:
- the schedule value
-
withSchedule
public JobScheduleAddParameter withSchedule(Schedule schedule)
Set all times are fixed respective to UTC and are not impacted by daylight saving time.- Parameters:
schedule
- the schedule value to set- Returns:
- the JobScheduleAddParameter object itself.
-
jobSpecification
public JobSpecification jobSpecification()
Get the jobSpecification value.- Returns:
- the jobSpecification value
-
withJobSpecification
public JobScheduleAddParameter withJobSpecification(JobSpecification jobSpecification)
Set the jobSpecification value.- Parameters:
jobSpecification
- the jobSpecification value to set- Returns:
- the JobScheduleAddParameter object itself.
-
metadata
public List<MetadataItem> metadata()
Get the Batch service does not assign any meaning to metadata; it is solely for the use of user code.- Returns:
- the metadata value
-
withMetadata
public JobScheduleAddParameter withMetadata(List<MetadataItem> metadata)
Set the Batch service does not assign any meaning to metadata; it is solely for the use of user code.- Parameters:
metadata
- the metadata value to set- Returns:
- the JobScheduleAddParameter object itself.
-
-