Interface ValueToStringConverter.SimpleValueToString<T>
-
- Type Parameters:
T- Type to convert.
- All Superinterfaces:
ValueToStringConverter.ValueToString<T>
- Enclosing class:
- ValueToStringConverter
- 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 ValueToStringConverter.SimpleValueToString<T> extends ValueToStringConverter.ValueToString<T>
Simple interface to convert a type to a String. Useful for implementations that don't need theSdkField.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Stringconvert(T t)Converts the value to a string.default Stringconvert(T t, SdkField<T> field)Converts the value to a string.
-
-
-
Method Detail
-
convert
default String convert(T t, SdkField<T> field)
Description copied from interface:ValueToStringConverter.ValueToStringConverts the value to a string.- Specified by:
convertin interfaceValueToStringConverter.ValueToString<T>- Parameters:
t- Value to convert.field-SdkFieldcontaining metadata about the member being marshalled.- Returns:
- String value.
-
-