Interface DynamoDbEnhancedResource.Builder

All Known Subinterfaces:
DynamoDbEnhancedAsyncClient.Builder, DynamoDbEnhancedClient.Builder
All Known Implementing Classes:
DefaultDynamoDbEnhancedAsyncClient.Builder, DefaultDynamoDbEnhancedClient.Builder
Enclosing interface:
DynamoDbEnhancedResource

@NotThreadSafe public static interface DynamoDbEnhancedResource.Builder
Shared interface components for the builders of DynamoDbEnhancedClient and DynamoDbEnhancedAsyncClient
  • Method Details

    • extensions

      DynamoDbEnhancedResource.Builder extensions(DynamoDbEnhancedClientExtension... dynamoDbEnhancedClientExtensions)
      Specifies the extensions to load with the enhanced client. The extensions will be loaded in the strict order they are supplied here. Calling this method will override any bundled extensions that are loaded by default, namely the VersionedRecordExtension, so this extension must be included in the supplied list otherwise it will not be loaded. Providing an empty list here will cause no extensions to get loaded, effectively dropping the default ones.
      Parameters:
      dynamoDbEnhancedClientExtensions - a list of extensions to load with the enhanced client
    • extensions

      DynamoDbEnhancedResource.Builder extensions(List<DynamoDbEnhancedClientExtension> dynamoDbEnhancedClientExtensions)
      Specifies the extensions to load with the enhanced client. The extensions will be loaded in the strict order they are supplied here. Calling this method will override any bundled extensions that are loaded by default, namely the VersionedRecordExtension, so this extension must be included in the supplied list otherwise it will not be loaded. Providing an empty list here will cause no extensions to get loaded, effectively dropping the default ones.
      Parameters:
      dynamoDbEnhancedClientExtensions - a list of extensions to load with the enhanced client