Class InstantStringConverter
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.InstantStringConverter
-
- All Implemented Interfaces:
StringConverter<Instant>
@ThreadSafe @Immutable public class InstantStringConverter extends Object implements StringConverter<Instant>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstantStringConverter
create()
Instant
fromString(String string)
Convert the provided string into an object.EnhancedType<Instant>
type()
The type supported by this converter.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.enhanced.dynamodb.internal.converter.StringConverter
toString
-
-
-
-
Method Detail
-
create
public static InstantStringConverter create()
-
type
public EnhancedType<Instant> type()
Description copied from interface:StringConverter
The type supported by this converter.- Specified by:
type
in interfaceStringConverter<Instant>
-
fromString
public Instant fromString(String string)
Description copied from interface:StringConverter
Convert the provided string into an object.- Specified by:
fromString
in interfaceStringConverter<Instant>
-
-