@Stability(value=Stable) public static final class CfnDetectorModel.SetTimerProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDetectorModel.SetTimerProperty>
CfnDetectorModel.SetTimerProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDetectorModel.SetTimerProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.SetTimerProperty.Builder |
durationExpression(String durationExpression)
Sets the value of
CfnDetectorModel.SetTimerProperty.getDurationExpression() |
CfnDetectorModel.SetTimerProperty.Builder |
seconds(Number seconds)
Sets the value of
CfnDetectorModel.SetTimerProperty.getSeconds() |
CfnDetectorModel.SetTimerProperty.Builder |
timerName(String timerName)
Sets the value of
CfnDetectorModel.SetTimerProperty.getTimerName() |
@Stability(value=Stable) public CfnDetectorModel.SetTimerProperty.Builder timerName(String timerName)
CfnDetectorModel.SetTimerProperty.getTimerName()timerName - The name of the timer. This parameter is required.this@Stability(value=Stable) public CfnDetectorModel.SetTimerProperty.Builder durationExpression(String durationExpression)
CfnDetectorModel.SetTimerProperty.getDurationExpression()durationExpression - The duration of the timer, in seconds.
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.this@Stability(value=Stable) public CfnDetectorModel.SetTimerProperty.Builder seconds(Number seconds)
CfnDetectorModel.SetTimerProperty.getSeconds()seconds - The number of seconds until the timer expires.
The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.this@Stability(value=Stable) public CfnDetectorModel.SetTimerProperty build()
build in interface software.amazon.jsii.Builder<CfnDetectorModel.SetTimerProperty>CfnDetectorModel.SetTimerPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.