Class ValueToStringConverter
- java.lang.Object
-
- software.amazon.awssdk.protocols.core.ValueToStringConverter
-
public final class ValueToStringConverter extends Object
Converts various types to Strings. Used for Query Param/Header/Path marshalling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ValueToStringConverter.SimpleValueToString<T>
Simple interface to convert a type to a String.static interface
ValueToStringConverter.ValueToString<T>
Interface to convert a type to a String.
-
Field Summary
Fields Modifier and Type Field Description static ValueToStringConverter.SimpleValueToString<BigDecimal>
FROM_BIG_DECIMAL
static ValueToStringConverter.SimpleValueToString<Boolean>
FROM_BOOLEAN
Marshalls boolean as a literal 'true' or 'false' string.static ValueToStringConverter.SimpleValueToString<Double>
FROM_DOUBLE
static ValueToStringConverter.SimpleValueToString<Float>
FROM_FLOAT
static ValueToStringConverter.SimpleValueToString<Integer>
FROM_INTEGER
static ValueToStringConverter.SimpleValueToString<Long>
FROM_LONG
static ValueToStringConverter.SimpleValueToString<SdkBytes>
FROM_SDK_BYTES
Marshalls bytes as a Base64 string.static ValueToStringConverter.SimpleValueToString<Short>
FROM_SHORT
static ValueToStringConverter.SimpleValueToString<String>
FROM_STRING
Identity converter.
-
-
-
Field Detail
-
FROM_STRING
public static final ValueToStringConverter.SimpleValueToString<String> FROM_STRING
Identity converter.
-
FROM_INTEGER
public static final ValueToStringConverter.SimpleValueToString<Integer> FROM_INTEGER
-
FROM_LONG
public static final ValueToStringConverter.SimpleValueToString<Long> FROM_LONG
-
FROM_SHORT
public static final ValueToStringConverter.SimpleValueToString<Short> FROM_SHORT
-
FROM_FLOAT
public static final ValueToStringConverter.SimpleValueToString<Float> FROM_FLOAT
-
FROM_DOUBLE
public static final ValueToStringConverter.SimpleValueToString<Double> FROM_DOUBLE
-
FROM_BIG_DECIMAL
public static final ValueToStringConverter.SimpleValueToString<BigDecimal> FROM_BIG_DECIMAL
-
FROM_BOOLEAN
public static final ValueToStringConverter.SimpleValueToString<Boolean> FROM_BOOLEAN
Marshalls boolean as a literal 'true' or 'false' string.
-
FROM_SDK_BYTES
public static final ValueToStringConverter.SimpleValueToString<SdkBytes> FROM_SDK_BYTES
Marshalls bytes as a Base64 string.
-
-