Class YearStringConverter
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.YearStringConverter
-
- All Implemented Interfaces:
StringConverter<Year>
@ThreadSafe @Immutable public class YearStringConverter extends Object implements StringConverter<Year>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static YearStringConverter
create()
Year
fromString(String string)
Convert the provided string into an object.EnhancedType<Year>
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 YearStringConverter create()
-
type
public EnhancedType<Year> type()
Description copied from interface:StringConverter
The type supported by this converter.- Specified by:
type
in interfaceStringConverter<Year>
-
fromString
public Year fromString(String string)
Description copied from interface:StringConverter
Convert the provided string into an object.- Specified by:
fromString
in interfaceStringConverter<Year>
-
-