Package io.micronaut.eclipsestore.azure
Class DefaultBlobStorageConfigurationProvider
java.lang.Object
io.micronaut.eclipsestore.azure.DefaultBlobStorageConfigurationProvider
- All Implemented Interfaces:
io.micronaut.core.naming.Named,BlobStorageConfigurationProvider,RootClassConfigurationProvider
@EachProperty("eclipsestore.blob.storage")
public class DefaultBlobStorageConfigurationProvider
extends Object
implements BlobStorageConfigurationProvider
- Since:
- 1.6.0
- Author:
- Simon Frauenschuh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name qualifier of the defined Azure Storage Container to use.@NonNull String@NonNull StringgetName()@NonNull Class<?>Returns the class of the Root Instance.voidsetBlobClientName(@Nullable String blobClientName) The name qualifier of the defined Storage Account client to use.voidsetContainerName(@NonNull String containerName) voidsetRootClass(@NonNull Class<?> rootClass) Class of the Root Instance.
-
Constructor Details
-
DefaultBlobStorageConfigurationProvider
-
-
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.
-
getBlobClientName
Description copied from interface:BlobStorageConfigurationProviderThe name qualifier of the defined Azure Storage Container 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:
getBlobClientNamein interfaceBlobStorageConfigurationProvider- Returns:
- Returns the name qualifier of the Azure Storage Container to use.
-
setBlobClientName
The name qualifier of the defined Storage Account 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:
blobClientName- the name qualifier of the Storage Account Client to use
-
getContainerName
- Specified by:
getContainerNamein interfaceBlobStorageConfigurationProvider- Returns:
- Returns the name of the blob container to use.
-
setContainerName
- Parameters:
containerName- Name of the container to use.
-