Class 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 Details

  • Constructor Details

    • AzureBlobStorageConfiguration

      public AzureBlobStorageConfiguration(@Parameter String name)
  • Method Details

    • getContainer

      @NonNull public @NonNull String getContainer()
      The blob container name.
      Returns:
      The blob container name.
    • setContainer

      public void setContainer(@NonNull @NonNull String container)
      Parameters:
      container - The blob container name.
    • getEndpoint

      @NonNull public @NonNull String getEndpoint()
      The blob service endpoint, in the format of https://{accountName}.blob.core.windows.net.
      Returns:
      the endpoint.
    • setEndpoint

      public void setEndpoint(@NonNull @NonNull String endpoint)
      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