@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-09T02:01:26.354Z") @Stability(value=Experimental) public interface CronOptions extends software.amazon.jsii.JsiiSerializable
All fields are strings so you can use complex expressions. Absence of a field implies '*' or '?', whichever one is appropriate.
Example:
Schedule schedule = Schedule.cron(CronOptions.builder()
.hour("0,8,16")
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
CronOptions.Builder
A builder for
CronOptions |
static class |
CronOptions.Jsii$Proxy
An implementation for
CronOptions |
| Modifier and Type | Method and Description |
|---|---|
static CronOptions.Builder |
builder() |
default String |
getDay()
(experimental) The day of the month to run this rule at.
|
default String |
getHour()
(experimental) The hour to run this rule at.
|
default String |
getMinute()
(experimental) The minute to run this rule at.
|
default String |
getMonth()
(experimental) The month to run this rule at.
|
default String |
getWeekDay()
(experimental) The day of the week to run this rule at.
|
@Stability(value=Experimental) @Nullable default String getDay()
Default: - Every day of the month
@Stability(value=Experimental) @Nullable default String getHour()
Default: - Every hour
@Stability(value=Experimental) @Nullable default String getMinute()
Default: - Every minute
@Stability(value=Experimental) @Nullable default String getMonth()
Default: - Every month
@Stability(value=Experimental) @Nullable default String getWeekDay()
Default: - Any day of the week
@Stability(value=Experimental) static CronOptions.Builder builder()
CronOptions.Builder of CronOptionsCopyright © 2023. All rights reserved.