Class DefaultDynamoDBStorageConfigurationProvider
java.lang.Object
io.micronaut.eclipsestore.dynamodb.DefaultDynamoDBStorageConfigurationProvider
- All Implemented Interfaces:
 io.micronaut.core.naming.Named,RootClassConfigurationProvider,DynamoDbStorageConfigurationProvider
@EachProperty("eclipsestore.dynamodb.storage")
public class DefaultDynamoDBStorageConfigurationProvider
extends Object
implements DynamoDbStorageConfigurationProvider
EachProperty implementation of DynamoDbStorageConfigurationProvider.- Since:
 - 2.0.0
 - Author:
 - Sergio del Amo
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionThe name qualifier of the defined DynamoDBClient to use.@NonNull StringgetName()@NonNull Class<?>Returns the class of the Root Instance.@NonNull StringvoidsetDynamoDbClientName(@Nullable String dynamoDbClientName) The name qualifier of the defined DynamoDB Client to use.voidsetRootClass(@NonNull Class<?> rootClass) Class of the Root Instance.voidsetTableName(@NonNull String tableName)  
- 
Constructor Details
- 
DefaultDynamoDBStorageConfigurationProvider
 
 - 
 - 
Method Details
- 
getName
- Specified by:
 getNamein interfaceio.micronaut.core.naming.Named
 - 
getRootClass
Description copied from interface:RootClassConfigurationProviderReturns the class of the Root Instance. Root Instances- Specified by:
 getRootClassin interfaceRootClassConfigurationProvider- Returns:
 - Class for the Root Instance.
 
 - 
setRootClass
Class of the Root Instance. Root Instances- Parameters:
 rootClass- Class for the Root Instance.
 - 
getDynamoDbClientName
Description copied from interface:DynamoDbStorageConfigurationProviderThe name qualifier of the defined DynamoDBClient to use. If unset, a client with the same name as the storage will be used. If there is no bean with a name qualifier matching the storage name, the default client will be used.- Specified by:
 getDynamoDbClientNamein interfaceDynamoDbStorageConfigurationProvider- Returns:
 - Returns the name qualifier of the S3Client to use.
 
 - 
setDynamoDbClientName
The name qualifier of the defined DynamoDB Client to use. If unset, a client with the same name as the storage will be used. If there is no bean with a name qualifier matching the storage name, the default client will be used.- Parameters:
 dynamoDbClientName- the name qualifier of the S3Client to use
 - 
getTableName
- Specified by:
 getTableNamein interfaceDynamoDbStorageConfigurationProvider- Returns:
 - Returns the name of the DynamoDB table to use.
 
 - 
setTableName
- Parameters:
 tableName- Name of the DynamoDB table to use.
 
 -