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 ofProtocolMetadataConstants.
-
-
Constructor Summary
Constructors Constructor Description DefaultProtocolMetadataConstants()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.codegen.internal.ProtocolMetadataConstants
put
-
-
-
-
Method Detail
-
keys
public List<Map.Entry<Class<?>,OperationMetadataAttribute<?>>> 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
public <T> T put(Class<?> containingClass, OperationMetadataAttribute<T> key, T value)
Description copied from interface:ProtocolMetadataConstantsAdds an operation metadata to the set of constants.- Specified by:
putin interfaceProtocolMetadataConstants
-
get
public <T> T get(OperationMetadataAttribute<T> key)
Description copied from interface:ProtocolMetadataConstantsGets the constant value for the operation metadata key.- Specified by:
getin interfaceProtocolMetadataConstants
-
-