Interface StringToValueConverter.SimpleStringToValue<T>
- Type Parameters:
T
- Type to convert to.
- All Superinterfaces:
StringToValueConverter.StringToValue<T>
- Enclosing class:
StringToValueConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface StringToValueConverter.SimpleStringToValue<T>
extends StringToValueConverter.StringToValue<T>
Simple interface to convert a String to another type. Useful for implementations that don't need the
SdkField
.-
Method Summary
-
Method Details
-
convert
Description copied from interface:StringToValueConverter.StringToValue
Converts the value to a string.- Specified by:
convert
in interfaceStringToValueConverter.StringToValue<T>
- Parameters:
s
- Value to convert from.sdkField
-SdkField
containing metadata about the member being unmarshalled.- Returns:
- Unmarshalled value.
-
convert
Converts the value to a string.- Parameters:
s
- Value to convert from.- Returns:
- Unmarshalled value.
-