Package io.micronaut.microstream.s3
Class DefaultS3StorageConfigurationProvider
java.lang.Object
io.micronaut.microstream.s3.DefaultS3StorageConfigurationProvider
- All Implemented Interfaces:
- io.micronaut.core.naming.Named,- RootClassConfigurationProvider,- S3StorageConfigurationProvider
@EachProperty("microstream.s3.storage")
public class DefaultS3StorageConfigurationProvider
extends Object
implements S3StorageConfigurationProvider
- Since:
- 2.0.0
- Author:
- Tim Yates
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NonNull String@NonNull StringgetName()@NonNull Class<?>Returns the class of the Root Instance.The name qualifier of the defined S3Client to use.voidsetBucketName(@NonNull String bucketName) voidsetRootClass(@NonNull Class<?> rootClass) Class of the Root Instance.voidsetS3ClientName(@Nullable String s3ClientName) The name qualifier of the defined S3Client to use.
- 
Constructor Details- 
DefaultS3StorageConfigurationProvider
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- io.micronaut.core.naming.Named
 
- 
getRootClassDescription copied from interface:RootClassConfigurationProviderReturns the class of the Root Instance. Root Instances- Specified by:
- getRootClassin interface- RootClassConfigurationProvider
- Returns:
- Class for the Root Instance.
 
- 
setRootClassClass of the Root Instance. Root Instances- Parameters:
- rootClass- Class for the Root Instance.
 
- 
getS3ClientNameDescription copied from interface:S3StorageConfigurationProviderThe name qualifier of the defined S3Client 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:
- getS3ClientNamein interface- S3StorageConfigurationProvider
- Returns:
- Returns the name qualifier of the S3Client to use.
 
- 
setS3ClientNameThe name qualifier of the defined S3Client 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:
- s3ClientName- the name qualifier of the S3Client to use
 
- 
getBucketName- Specified by:
- getBucketNamein interface- S3StorageConfigurationProvider
- Returns:
- Returns the name of the bucket to use.
 
- 
setBucketName- Parameters:
- bucketName- Name of the bucket to use.
 
 
-