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