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