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 class
AttributeMap.Key.UnsafeValueType
Useful for parameterized types.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Key(Class<T> valueType)
protected
Key(AttributeMap.Key.UnsafeValueType unsafeValueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
convertValue(Object value)
Validate the provided value is of the correct type and convert it to the proper type for this option.
-
-
-
Constructor Detail
-
Key
protected Key(AttributeMap.Key.UnsafeValueType unsafeValueType)
-
-