@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimerDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The new setting of a timer.
Constructor and Description |
---|
TimerDefinition() |
Modifier and Type | Method and Description |
---|---|
TimerDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the timer.
|
Integer |
getSeconds()
The new setting of the timer (the number of seconds before the timer elapses).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the timer.
|
void |
setSeconds(Integer seconds)
The new setting of the timer (the number of seconds before the timer elapses).
|
String |
toString()
Returns a string representation of this object.
|
TimerDefinition |
withName(String name)
The name of the timer.
|
TimerDefinition |
withSeconds(Integer seconds)
The new setting of the timer (the number of seconds before the timer elapses).
|
public void setName(String name)
The name of the timer.
name
- The name of the timer.public String getName()
The name of the timer.
public TimerDefinition withName(String name)
The name of the timer.
name
- The name of the timer.public void setSeconds(Integer seconds)
The new setting of the timer (the number of seconds before the timer elapses).
seconds
- The new setting of the timer (the number of seconds before the timer elapses).public Integer getSeconds()
The new setting of the timer (the number of seconds before the timer elapses).
public TimerDefinition withSeconds(Integer seconds)
The new setting of the timer (the number of seconds before the timer elapses).
seconds
- The new setting of the timer (the number of seconds before the timer elapses).public String toString()
toString
in class Object
Object.toString()
public TimerDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.