Interface ScheduledInstanceRecurrence.Builder

    • Method Detail

      • frequency

        ScheduledInstanceRecurrence.Builder frequency​(String frequency)

        The frequency (Daily, Weekly, or Monthly).

        Parameters:
        frequency - The frequency (Daily, Weekly, or Monthly).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • interval

        ScheduledInstanceRecurrence.Builder interval​(Integer interval)

        The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

        Parameters:
        interval - The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • occurrenceDaySet

        ScheduledInstanceRecurrence.Builder occurrenceDaySet​(Collection<Integer> occurrenceDaySet)

        The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

        Parameters:
        occurrenceDaySet - The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • occurrenceDaySet

        ScheduledInstanceRecurrence.Builder occurrenceDaySet​(Integer... occurrenceDaySet)

        The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

        Parameters:
        occurrenceDaySet - The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • occurrenceRelativeToEnd

        ScheduledInstanceRecurrence.Builder occurrenceRelativeToEnd​(Boolean occurrenceRelativeToEnd)

        Indicates whether the occurrence is relative to the end of the specified week or month.

        Parameters:
        occurrenceRelativeToEnd - Indicates whether the occurrence is relative to the end of the specified week or month.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • occurrenceUnit

        ScheduledInstanceRecurrence.Builder occurrenceUnit​(String occurrenceUnit)

        The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

        Parameters:
        occurrenceUnit - The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).
        Returns:
        Returns a reference to this object so that method calls can be chained together.