Class TimestampFormatTrait
java.lang.Object
software.amazon.awssdk.core.traits.TimestampFormatTrait
- All Implemented Interfaces:
Trait
Trait that indicates a different format should be used for marshalling/unmarshalling timestamps. If not present
the protocol will determine the default format to use based on the location (i.e. for JSON protocol headers are ISO8601
but timestamps in the payload are epoch seconds with millisecond decimal precision).
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enum of the timestamp formats we currently support. -
Method Summary
Modifier and TypeMethodDescriptionstatic TimestampFormatTrait
create
(TimestampFormatTrait.Format timestampFormat) format()
-
Method Details
-
format
- Returns:
- Format to use.
-
create
-