Class ScheduleTriggerRecurrence


  • public final class ScheduleTriggerRecurrence
    extends Object
    The workflow trigger recurrence.
    • Constructor Detail

      • ScheduleTriggerRecurrence

        public ScheduleTriggerRecurrence()
    • Method Detail

      • frequency

        public RecurrenceFrequency frequency()
        Get the frequency property: The frequency.
        Returns:
        the frequency value.
      • withFrequency

        public ScheduleTriggerRecurrence withFrequency​(RecurrenceFrequency frequency)
        Set the frequency property: The frequency.
        Parameters:
        frequency - the frequency value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • interval

        public Integer interval()
        Get the interval property: The interval.
        Returns:
        the interval value.
      • withInterval

        public ScheduleTriggerRecurrence withInterval​(Integer interval)
        Set the interval property: The interval.
        Parameters:
        interval - the interval value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: The start time.
        Returns:
        the startTime value.
      • withStartTime

        public ScheduleTriggerRecurrence withStartTime​(OffsetDateTime startTime)
        Set the startTime property: The start time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: The end time.
        Returns:
        the endTime value.
      • withEndTime

        public ScheduleTriggerRecurrence withEndTime​(OffsetDateTime endTime)
        Set the endTime property: The end time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • timeZone

        public String timeZone()
        Get the timeZone property: The time zone.
        Returns:
        the timeZone value.
      • withTimeZone

        public ScheduleTriggerRecurrence withTimeZone​(String timeZone)
        Set the timeZone property: The time zone.
        Parameters:
        timeZone - the timeZone value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • schedule

        public RecurrenceSchedule schedule()
        Get the schedule property: The recurrence schedule.
        Returns:
        the schedule value.
      • withSchedule

        public ScheduleTriggerRecurrence withSchedule​(RecurrenceSchedule schedule)
        Set the schedule property: The recurrence schedule.
        Parameters:
        schedule - the schedule value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: The workflow trigger recurrence.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public ScheduleTriggerRecurrence withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: The workflow trigger recurrence.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the ScheduleTriggerRecurrence object itself.
      • validate

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