Class Recurrence.Builder

  • Enclosing class:
    Recurrence

    public static class Recurrence.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • suppressionRecurrence

        public Recurrence.Builder suppressionRecurrence​(String suppressionRecurrence)
        Frequency and start time of the recurring suppression.

        The format follows the iCalendar specification (RFC 5545, section 3.3.10). Supported rule parts: * FREQ: Frequency of the recurring suppression: WEEKLY or DAILY only. * BYDAY: Comma separated days. Use with weekly suppressions only. Supported values: MO, TU, WE, TH, FR, SA ,SU. * BYHOUR, BYMINUTE, BYSECOND: Start time in UTC, after timeSuppressFrom value. Default is 00:00:00 UTC after timeSuppressFrom.

        Parameters:
        suppressionRecurrence - the value to set
        Returns:
        this builder
      • suppressionDuration

        public Recurrence.Builder suppressionDuration​(String suppressionDuration)
        Duration of the recurring suppression.

        Specified as a string in ISO 8601 format. Minimum: PT1M (1 minute). Maximum: PT24H (24 hours).

        Parameters:
        suppressionDuration - the value to set
        Returns:
        this builder