Package io.micronaut.objectstorage.azure
Class AzureBlobStorageConfiguration
java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
io.micronaut.objectstorage.azure.AzureBlobStorageConfiguration
- All Implemented Interfaces:
io.micronaut.core.naming.Named,io.micronaut.core.util.Toggleable,ObjectStorageConfiguration,ObjectStorageModuleConfiguration
@EachProperty("micronaut.object-storage.azure")
public class AzureBlobStorageConfiguration
extends AbstractObjectStorageConfiguration
Azure object storage configuration properties.
- Since:
- 1.0
- Author:
- Pavol Gressa
-
Field Summary
FieldsFields inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
nameFields inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
enabledFields inherited from interface io.micronaut.objectstorage.configuration.ObjectStorageModuleConfiguration
DEFAULT_ENABLED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull StringThe blob container name.@NonNull StringThe blob service endpoint, in the format of https://{accountName}.blob.core.windows.net.booleanWhether to enable or disable this object storage.voidsetContainer(@NonNull String container) voidsetEndpoint(@NonNull String endpoint) Methods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
getNameMethods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
setEnabled
-
Field Details
-
NAME
- See Also:
-
PREFIX
- See Also:
-
-
Constructor Details
-
AzureBlobStorageConfiguration
-
-
Method Details
-
getContainer
The blob container name.- Returns:
- The blob container name.
-
setContainer
- Parameters:
container- The blob container name.
-
getEndpoint
The blob service endpoint, in the format of https://{accountName}.blob.core.windows.net.- Returns:
- the endpoint.
-
setEndpoint
- Parameters:
endpoint- The blob service endpoint to set, in the format of https://{accountName}.blob.core.windows.net.
-
isEnabled
public boolean isEnabled()Whether to enable or disable this object storage.- Since:
- 2.0.2
-