Class ExtensionResolver
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.client.ExtensionResolver
Static module to assist with the initialization of an extension for a DynamoDB Enhanced Client based on supplied
configuration.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<DynamoDbEnhancedClientExtension> Static provider for the default extensions that are bundled with the DynamoDB Enhanced Client.resolveExtensions(List<DynamoDbEnhancedClientExtension> extensions) Resolves a list of extensions into a single extension.
-
Method Details
-
defaultExtensions
Static provider for the default extensions that are bundled with the DynamoDB Enhanced Client. Currently this is just theVersionedRecordExtension. These extensions will be used by default unless overridden in the enhanced client builder. -
resolveExtensions
public static DynamoDbEnhancedClientExtension resolveExtensions(List<DynamoDbEnhancedClientExtension> extensions) Resolves a list of extensions into a single extension. If the list is a singleton, will just return that extension otherwise it will combine them with theChainExtensionmeta-extension using the order provided in the list.- Parameters:
extensions- A list of extensions to be combined in strict order- Returns:
- A single extension that combines all the supplied extensions or null if no extensions were provided
-