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
Fields inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
name
Fields inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
enabled
Fields inherited from interface io.micronaut.objectstorage.configuration.ObjectStorageModuleConfiguration
DEFAULT_ENABLED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
The blob container name.@NonNull String
The blob service endpoint, in the format of https://{accountName}.blob.core.windows.net.boolean
Whether to enable or disable this object storage.void
setContainer
(@NonNull String container) void
setEndpoint
(@NonNull String endpoint) Methods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
getName
Methods 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
-