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 String
convert(T t)
Converts the value to a string.default String
convert(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.ValueToString
Converts the value to a string.- Specified by:
convert
in interfaceValueToStringConverter.ValueToString<T>
- Parameters:
t
- Value to convert.field
-SdkField
containing metadata about the member being marshalled.- Returns:
- String value.
-
-