public static class Recurrence.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Recurrence |
build() |
Recurrence.Builder |
copy(Recurrence model) |
Recurrence.Builder |
suppressionDuration(String suppressionDuration)
Duration of the recurring suppression.
|
Recurrence.Builder |
suppressionRecurrence(String suppressionRecurrence)
Frequency and start time of the recurring suppression.
|
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
.
suppressionRecurrence
- the value to setpublic 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).
suppressionDuration
- the value to setpublic Recurrence build()
public Recurrence.Builder copy(Recurrence model)
Copyright © 2016–2024. All rights reserved.