public static interface SetTimerAction.Builder extends SdkPojo, CopyableBuilder<SetTimerAction.Builder,SetTimerAction>
| Modifier and Type | Method and Description |
|---|---|
SetTimerAction.Builder |
durationExpression(String durationExpression)
The duration of the timer, in seconds.
|
SetTimerAction.Builder |
seconds(Integer seconds)
Deprecated.
seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds
can be used as a string expression for durationExpression.
|
SetTimerAction.Builder |
timerName(String timerName)
The name of the timer.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSetTimerAction.Builder timerName(String timerName)
The name of the timer.
timerName - The name of the timer.@Deprecated SetTimerAction.Builder seconds(Integer seconds)
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
seconds - The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The
maximum value is 31622400 seconds.SetTimerAction.Builder durationExpression(String 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.
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.Copyright © 2022. All rights reserved.