Class DefaultProtocolMetadataConstants
java.lang.Object
software.amazon.awssdk.codegen.internal.DefaultProtocolMetadataConstants
- All Implemented Interfaces:
ProtocolMetadataConstants
public final class DefaultProtocolMetadataConstants
extends Object
implements ProtocolMetadataConstants
Default implementation of
ProtocolMetadataConstants
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
get
(OperationMetadataAttribute<T> key) Gets the constant value for the operation metadata key.List
<Map.Entry<Class<?>, OperationMetadataAttribute<?>>> keys()
Returns the list of keys sets.<T> T
put
(Class<?> containingClass, OperationMetadataAttribute<T> key, T value) Adds an operation metadata to the set of constants.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.codegen.internal.ProtocolMetadataConstants
put
-
Constructor Details
-
DefaultProtocolMetadataConstants
public DefaultProtocolMetadataConstants()
-
-
Method Details
-
keys
Description copied from interface:ProtocolMetadataConstants
Returns the list of keys sets. TheMap.Entry
contains as key the class containing the key field and the value contains the key constant itself. The class is needed to properly codegen a reference to the key.- Specified by:
keys
in interfaceProtocolMetadataConstants
- Returns:
-
put
Description copied from interface:ProtocolMetadataConstants
Adds an operation metadata to the set of constants.- Specified by:
put
in interfaceProtocolMetadataConstants
-
get
Description copied from interface:ProtocolMetadataConstants
Gets the constant value for the operation metadata key.- Specified by:
get
in interfaceProtocolMetadataConstants
-