@Generated(value="jsii-pacmak/0.21.2 (build 4370756)", date="2020-01-23T18:16:38.434Z") @Stability(value=Stable) public abstract class Schedule extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
Schedule() |
protected |
Schedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Schedule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Schedule |
cron(CronOptions options)
Create a schedule from a set of cron fields.
|
static Schedule |
expression(String expression)
Construct a schedule from a literal schedule expression.
|
abstract String |
getExpressionString()
Retrieve the expression for this schedule.
|
static Schedule |
rate(Duration duration)
Construct a schedule from an interval and a time unit.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Schedule(software.amazon.jsii.JsiiObjectRef objRef)
protected Schedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected Schedule()
@Stability(value=Stable) public static Schedule cron(CronOptions options)
options - This parameter is required.@Stability(value=Stable) public static Schedule expression(String expression)
expression - The expression to use. This parameter is required.@Stability(value=Stable) public static Schedule rate(Duration duration)
duration - This parameter is required.@Stability(value=Stable) public abstract String getExpressionString()
Copyright © 2020. All rights reserved.