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 between
OptionalInt and String.-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionalIntStringConvertercreate()fromString(String string) Convert the provided string into an object.toString(OptionalInt object) Convert the provided object into a string.type()The type supported by this converter.
-
Method Details
-
create
-
type
Description copied from interface:StringConverterThe type supported by this converter.- Specified by:
typein interfaceStringConverter<OptionalInt>
-
toString
Description copied from interface:StringConverterConvert the provided object into a string.- Specified by:
toStringin interfaceStringConverter<OptionalInt>
-
fromString
Description copied from interface:StringConverterConvert the provided string into an object.- Specified by:
fromStringin interfaceStringConverter<OptionalInt>
-