Interface DynamoDbEnhancedClient.Builder
-
- All Superinterfaces:
DynamoDbEnhancedResource.Builder
- All Known Implementing Classes:
DefaultDynamoDbEnhancedClient.Builder
- Enclosing interface:
- DynamoDbEnhancedClient
@NotThreadSafe public static interface DynamoDbEnhancedClient.Builder extends DynamoDbEnhancedResource.Builder
The builder definition for aDynamoDbEnhancedClient
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamoDbEnhancedClient
build()
Builds an enhanced client based on the settings supplied to this builderDynamoDbEnhancedClient.Builder
dynamoDbClient(DynamoDbClient dynamoDbClient)
The regular low-level SDK client to use with the enhanced client.DynamoDbEnhancedClient.Builder
extensions(List<DynamoDbEnhancedClientExtension> dynamoDbEnhancedClientExtensions)
Specifies the extensions to load with the enhanced client.DynamoDbEnhancedClient.Builder
extensions(DynamoDbEnhancedClientExtension... dynamoDbEnhancedClientExtensions)
Specifies the extensions to load with the enhanced client.
-
-
-
Method Detail
-
dynamoDbClient
DynamoDbEnhancedClient.Builder dynamoDbClient(DynamoDbClient dynamoDbClient)
The regular low-level SDK client to use with the enhanced client.- Parameters:
dynamoDbClient
- an initializedDynamoDbClient
-
extensions
DynamoDbEnhancedClient.Builder extensions(DynamoDbEnhancedClientExtension... dynamoDbEnhancedClientExtensions)
Description copied from interface:DynamoDbEnhancedResource.Builder
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 theVersionedRecordExtension
, 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.- Specified by:
extensions
in interfaceDynamoDbEnhancedResource.Builder
- Parameters:
dynamoDbEnhancedClientExtensions
- a list of extensions to load with the enhanced client
-
extensions
DynamoDbEnhancedClient.Builder extensions(List<DynamoDbEnhancedClientExtension> dynamoDbEnhancedClientExtensions)
Description copied from interface:DynamoDbEnhancedResource.Builder
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 theVersionedRecordExtension
, 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.- Specified by:
extensions
in interfaceDynamoDbEnhancedResource.Builder
- Parameters:
dynamoDbEnhancedClientExtensions
- a list of extensions to load with the enhanced client
-
build
DynamoDbEnhancedClient build()
Builds an enhanced client based on the settings supplied to this builder- Returns:
- An initialized
DynamoDbEnhancedClient
-
-