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> Tget(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> Tput(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, waitMethods inherited from interface software.amazon.awssdk.codegen.internal.ProtocolMetadataConstants
put
-
Constructor Details
-
DefaultProtocolMetadataConstants
public DefaultProtocolMetadataConstants()
-
-
Method Details
-
keys
Description copied from interface:ProtocolMetadataConstantsReturns the list of keys sets. TheMap.Entrycontains 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:
keysin interfaceProtocolMetadataConstants- Returns:
-
put
Description copied from interface:ProtocolMetadataConstantsAdds an operation metadata to the set of constants.- Specified by:
putin interfaceProtocolMetadataConstants
-
get
Description copied from interface:ProtocolMetadataConstantsGets the constant value for the operation metadata key.- Specified by:
getin interfaceProtocolMetadataConstants
-