@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestampValue extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a timestamp.
Constructor and Description |
---|
TimestampValue() |
Modifier and Type | Method and Description |
---|---|
TimestampValue |
clone() |
boolean |
equals(Object obj) |
Long |
getTimeInMillis()
The value of the timestamp, in the Unix epoch format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTimeInMillis(Long timeInMillis)
The value of the timestamp, in the Unix epoch format.
|
String |
toString()
Returns a string representation of this object.
|
TimestampValue |
withTimeInMillis(Long timeInMillis)
The value of the timestamp, in the Unix epoch format.
|
public void setTimeInMillis(Long timeInMillis)
The value of the timestamp, in the Unix epoch format.
timeInMillis
- The value of the timestamp, in the Unix epoch format.public Long getTimeInMillis()
The value of the timestamp, in the Unix epoch format.
public TimestampValue withTimeInMillis(Long timeInMillis)
The value of the timestamp, in the Unix epoch format.
timeInMillis
- The value of the timestamp, in the Unix epoch format.public String toString()
toString
in class Object
Object.toString()
public TimestampValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.