@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetTimerAction extends Object implements Serializable, Cloneable, StructuredPojo
Information needed to set the timer.
Constructor and Description |
---|
SetTimerAction() |
Modifier and Type | Method and Description |
---|---|
SetTimerAction |
clone() |
boolean |
equals(Object obj) |
String |
getDurationExpression()
The duration of the timer, in seconds.
|
Integer |
getSeconds()
Deprecated.
|
String |
getTimerName()
The name of the timer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationExpression(String durationExpression)
The duration of the timer, in seconds.
|
void |
setSeconds(Integer seconds)
Deprecated.
|
void |
setTimerName(String timerName)
The name of the timer.
|
String |
toString()
Returns a string representation of this object.
|
SetTimerAction |
withDurationExpression(String durationExpression)
The duration of the timer, in seconds.
|
SetTimerAction |
withSeconds(Integer seconds)
Deprecated.
|
SetTimerAction |
withTimerName(String timerName)
The name of the timer.
|
public void setTimerName(String timerName)
The name of the timer.
timerName
- The name of the timer.public String getTimerName()
The name of the timer.
public SetTimerAction withTimerName(String timerName)
The name of the timer.
timerName
- The name of the timer.@Deprecated public void setSeconds(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.@Deprecated public Integer getSeconds()
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
@Deprecated public SetTimerAction withSeconds(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.public void setDurationExpression(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.public String getDurationExpression()
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 withDurationExpression(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.public String toString()
toString
in class Object
Object.toString()
public SetTimerAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.