Interface DynamoDbEnhancedAsyncClient.Builder
-
- All Superinterfaces:
DynamoDbEnhancedResource.Builder
- All Known Implementing Classes:
DefaultDynamoDbEnhancedAsyncClient.Builder
- Enclosing interface:
- DynamoDbEnhancedAsyncClient
@NotThreadSafe public static interface DynamoDbEnhancedAsyncClient.Builder extends DynamoDbEnhancedResource.Builder
The builder definition for aDynamoDbEnhancedAsyncClient
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamoDbEnhancedAsyncClient
build()
Builds an enhanced client based on the settings supplied to this builderDynamoDbEnhancedAsyncClient.Builder
dynamoDbClient(DynamoDbAsyncClient dynamoDbClient)
The regular low-level SDK client to use with the enhanced client.DynamoDbEnhancedAsyncClient.Builder
extensions(List<DynamoDbEnhancedClientExtension> dynamoDbEnhancedClientExtensions)
Specifies the extensions to load with the enhanced client.DynamoDbEnhancedAsyncClient.Builder
extensions(DynamoDbEnhancedClientExtension... dynamoDbEnhancedClientExtensions)
Specifies the extensions to load with the enhanced client.
-
-
-
Method Detail
-
dynamoDbClient
DynamoDbEnhancedAsyncClient.Builder dynamoDbClient(DynamoDbAsyncClient dynamoDbClient)
The regular low-level SDK client to use with the enhanced client.- Parameters:
dynamoDbClient
- an initializedDynamoDbAsyncClient
-
extensions
DynamoDbEnhancedAsyncClient.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
DynamoDbEnhancedAsyncClient.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
DynamoDbEnhancedAsyncClient build()
Builds an enhanced client based on the settings supplied to this builder- Returns:
- An initialized
DynamoDbEnhancedAsyncClient
-
-