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 interfaceValueToStringConverter.SimpleValueToString<T>Simple interface to convert a type to a String.static interfaceValueToStringConverter.ValueToString<T>Interface to convert a type to a String.
-
Field Summary
Fields Modifier and Type Field Description static ValueToStringConverter.SimpleValueToString<BigDecimal>FROM_BIG_DECIMALstatic ValueToStringConverter.SimpleValueToString<Boolean>FROM_BOOLEANMarshalls boolean as a literal 'true' or 'false' string.static ValueToStringConverter.SimpleValueToString<Byte>FROM_BYTEstatic ValueToStringConverter.SimpleValueToString<Double>FROM_DOUBLEstatic ValueToStringConverter.SimpleValueToString<Float>FROM_FLOATstatic ValueToStringConverter.SimpleValueToString<Integer>FROM_INTEGERstatic ValueToStringConverter.SimpleValueToString<Long>FROM_LONGstatic ValueToStringConverter.SimpleValueToString<SdkBytes>FROM_SDK_BYTESMarshalls bytes as a Base64 string.static ValueToStringConverter.SimpleValueToString<Short>FROM_SHORTstatic ValueToStringConverter.SimpleValueToString<String>FROM_STRINGIdentity 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_BYTE
public static final ValueToStringConverter.SimpleValueToString<Byte> FROM_BYTE
-
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.
-
-