public static interface CfnDetectorModel.SetTimerProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotevents.*; SetTimerProperty setTimerProperty = SetTimerProperty.builder() .timerName("timerName") // the properties below are optional .durationExpression("durationExpression") .seconds(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDetectorModel.SetTimerProperty.Builder
A builder for
CfnDetectorModel.SetTimerProperty |
static class |
CfnDetectorModel.SetTimerProperty.Jsii$Proxy
An implementation for
CfnDetectorModel.SetTimerProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDetectorModel.SetTimerProperty.Builder |
builder() |
default java.lang.String |
getDurationExpression()
The duration of the timer, in seconds.
|
default java.lang.Number |
getSeconds()
The number of seconds until the timer expires.
|
java.lang.String |
getTimerName()
The name of the timer.
|
java.lang.String getTimerName()
default java.lang.String getDurationExpression()
You can use a string expression that includes numbers, variables ( $variable.<variable-name>
), and input values ( $input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.
default java.lang.Number getSeconds()
The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
static CfnDetectorModel.SetTimerProperty.Builder builder()