Class 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 Detail

      • JobScheduleAddParameter

        public JobScheduleAddParameter()
    • 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 the schedule value.
        Returns:
        the schedule value
      • withSchedule

        public JobScheduleAddParameter withSchedule​(Schedule schedule)
        Set the schedule value.
        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.