@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimestampStructure extends Object implements Serializable, Cloneable, StructuredPojo
A data type that contains a Timestamp
object. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
Constructor and Description |
---|
TimestampStructure() |
Modifier and Type | Method and Description |
---|---|
TimestampStructure |
clone() |
boolean |
equals(Object obj) |
Date |
getValue()
A
Timestamp . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setValue(Date value)
A
Timestamp . |
String |
toString()
Returns a string representation of this object.
|
TimestampStructure |
withValue(Date value)
A
Timestamp . |
public void setValue(Date value)
A Timestamp
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
value
- A Timestamp
. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.public Date getValue()
A Timestamp
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
Timestamp
. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.public TimestampStructure withValue(Date value)
A Timestamp
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z
represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
value
- A Timestamp
. This is specified using the ISO 8601 format. For example,
2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.public String toString()
toString
in class Object
Object.toString()
public TimestampStructure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.