@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) |
Integer |
getSeconds()
The number of seconds until the timer expires.
|
String |
getTimerName()
The name of the timer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSeconds(Integer seconds)
The number of seconds until the timer expires.
|
void |
setTimerName(String timerName)
The name of the timer.
|
String |
toString()
Returns a string representation of this object.
|
SetTimerAction |
withSeconds(Integer seconds)
The number of seconds until the timer expires.
|
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.public void setSeconds(Integer seconds)
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy.
seconds
- The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy.public Integer getSeconds()
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy.
public SetTimerAction withSeconds(Integer seconds)
The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy.
seconds
- The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy.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.