@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) |
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 ObjectObject.toString()public SetTimerAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.