Interface SetTimerAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SetTimerAction.Builder,
,SetTimerAction> SdkBuilder<SetTimerAction.Builder,
,SetTimerAction> SdkPojo
- Enclosing class:
SetTimerAction
@Mutable
@NotThreadSafe
public static interface SetTimerAction.Builder
extends SdkPojo, CopyableBuilder<SetTimerAction.Builder,SetTimerAction>
-
Method Summary
Modifier and TypeMethodDescriptiondurationExpression
(String durationExpression) The duration of the timer, in seconds.Deprecated.seconds is deprecated.The name of the timer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timerName
The name of the timer.
- Parameters:
timerName
- The name of the timer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seconds
Deprecated.seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression.The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
- Parameters:
seconds
- The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-