@Generated(value="software.amazon.awssdk:codegen") public final class SetTimerAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SetTimerAction.Builder,SetTimerAction>
Information needed to set the timer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetTimerAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetTimerAction.Builder |
builder() |
String |
durationExpression()
The duration of the timer, in seconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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.
|
static Class<? extends SetTimerAction.Builder> |
serializableBuilderClass() |
String |
timerName()
The name of the timer.
|
SetTimerAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String timerName()
The name of the timer.
@Deprecated public final 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.
public final 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.
$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.public SetTimerAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetTimerAction.Builder,SetTimerAction>public static SetTimerAction.Builder builder()
public static Class<? extends SetTimerAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.