Class NumberToInstant
java.lang.Object
software.amazon.awssdk.protocols.core.NumberToInstant
Converts a number value to an
Instant type. Respects the TimestampFormatTrait if present.-
Method Summary
Modifier and TypeMethodDescriptionstatic NumberToInstantcreate(Map<MarshallLocation, TimestampFormatTrait.Format> defaultFormats)
-
Method Details
-
convert
-
create
public static NumberToInstant create(Map<MarshallLocation, TimestampFormatTrait.Format> defaultFormats) - Parameters:
defaultFormats- Default formats for eachMarshallLocationas defined by the protocol.- Returns:
- New
StringToValueConverter.StringToValueforInstanttypes.
-