public static class TriggerSchedule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TriggerSchedule |
build() |
TriggerSchedule.Builder |
copy(TriggerSchedule model) |
TriggerSchedule.Builder |
customSchedule(String customSchedule)
Valid if type is CUSTOM.
|
TriggerSchedule.Builder |
scheduleType(TriggerSchedule.ScheduleType scheduleType)
Different types of trigger schedule: NONE - No automated synchronization schedule.
|
public TriggerSchedule.Builder scheduleType(TriggerSchedule.ScheduleType scheduleType)
Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule.
scheduleType
- the value to setpublic TriggerSchedule.Builder customSchedule(String customSchedule)
Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size.
customSchedule
- the value to setpublic TriggerSchedule build()
public TriggerSchedule.Builder copy(TriggerSchedule model)
Copyright © 2016–2024. All rights reserved.