Class AttributeMap.Key<T>

java.lang.Object
software.amazon.awssdk.utils.AttributeMap.Key<T>
Direct Known Subclasses:
ClientOption, DefaultSdkMetric, OperationMetadataAttribute, S3ClientContextParams, S3ControlClientContextParams, SdkHttpConfigurationOption, SdkHttpExecutionAttribute, SqsClientContextParams, TransferConfigurationOption, WaiterAttribute
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 the AttributeMap. For example, a ClientOption<T> may extend this to define options that can be stored in an AttributeMap.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • convertValue

      public final T convertValue(Object value)
      Validate the provided value is of the correct type and convert it to the proper type for this option.