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 NumberToInstant
create
(Map<MarshallLocation, TimestampFormatTrait.Format> defaultFormats)
-
Method Details
-
convert
-
create
public static NumberToInstant create(Map<MarshallLocation, TimestampFormatTrait.Format> defaultFormats) - Parameters:
defaultFormats
- Default formats for eachMarshallLocation
as defined by the protocol.- Returns:
- New
StringToValueConverter.StringToValue
forInstant
types.
-