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 AbstractObjectStorageConfiguration
nameFields inherited from class AbstractObjectStorageModuleConfiguration
enabledFields inherited from interface 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 AbstractObjectStorageConfiguration
getNameMethods inherited from class AbstractObjectStorageModuleConfiguration
setEnabled
-
Field Details
-
NAME
- See Also:
-
PREFIX
- See Also:
-
-
Constructor Details
-
AzureBlobStorageConfiguration
-
-
Method Details
-
getContainer
-
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
-