Class ScheduleBase

    • Constructor Detail

      • ScheduleBase

        public ScheduleBase()
    • Method Detail

      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: Specifies end time of schedule in ISO 8601 format. If not present, the schedule will run indefinitely.
        Returns:
        the endTime value.
      • withEndTime

        public ScheduleBase withEndTime​(OffsetDateTime endTime)
        Set the endTime property: Specifies end time of schedule in ISO 8601 format. If not present, the schedule will run indefinitely.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the ScheduleBase object itself.
      • scheduleStatus

        public ScheduleStatus scheduleStatus()
        Get the scheduleStatus property: Specifies the schedule's status.
        Returns:
        the scheduleStatus value.
      • withScheduleStatus

        public ScheduleBase withScheduleStatus​(ScheduleStatus scheduleStatus)
        Set the scheduleStatus property: Specifies the schedule's status.
        Parameters:
        scheduleStatus - the scheduleStatus value to set.
        Returns:
        the ScheduleBase object itself.
      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: Specifies start time of schedule in ISO 8601 format.
        Returns:
        the startTime value.
      • withStartTime

        public ScheduleBase withStartTime​(OffsetDateTime startTime)
        Set the startTime property: Specifies start time of schedule in ISO 8601 format.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the ScheduleBase object itself.
      • timeZone

        public String timeZone()
        Get the timeZone property: Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format.
        Returns:
        the timeZone value.
      • withTimeZone

        public ScheduleBase withTimeZone​(String timeZone)
        Set the timeZone property: Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format.
        Parameters:
        timeZone - the timeZone value to set.
        Returns:
        the ScheduleBase object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.