Package software.amazon.awssdk.utils
Class AttributeMap.Key<T>
- java.lang.Object
-
- software.amazon.awssdk.utils.AttributeMap.Key<T>
-
- Enclosing class:
- AttributeMap
public abstract static class AttributeMap.Key<T> extends Object
An abstract class extended by pseudo-enums defining the key for data that is stored in theAttributeMap. For example, aClientOption<T>may extend this to define options that can be stored in anAttributeMap.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAttributeMap.Key.UnsafeValueTypeUseful for parameterized types.
-
Constructor Summary
Constructors Modifier Constructor Description protectedKey(Class<T> valueType)protectedKey(AttributeMap.Key.UnsafeValueType unsafeValueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TconvertValue(Object value)Validate the provided value is of the correct type and convert it to the proper type for this option.StringtoString()
-
-
-
Constructor Detail
-
Key
protected Key(AttributeMap.Key.UnsafeValueType unsafeValueType)
-
-