@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Timer extends Object implements Serializable, Cloneable, StructuredPojo
The current state of a timer.
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
Timer |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the timer.
|
Date |
getTimestamp()
The expiration time for the timer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the timer.
|
void |
setTimestamp(Date timestamp)
The expiration time for the timer.
|
String |
toString()
Returns a string representation of this object.
|
Timer |
withName(String name)
The name of the timer.
|
Timer |
withTimestamp(Date timestamp)
The expiration time for the timer.
|
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 Timer withName(String name)
The name of the timer.
name
- The name of the timer.public void setTimestamp(Date timestamp)
The expiration time for the timer.
timestamp
- The expiration time for the timer.public Date getTimestamp()
The expiration time for the timer.
public Timer withTimestamp(Date timestamp)
The expiration time for the timer.
timestamp
- The expiration time for the timer.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.