Class LocalStorageModuleConfiguration

java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
io.micronaut.objectstorage.local.LocalStorageModuleConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable, ObjectStorageModuleConfiguration

@ConfigurationProperties("micronaut.object-storage.local") public class LocalStorageModuleConfiguration extends AbstractObjectStorageModuleConfiguration
Local Storage module configuration.
Since:
2.0.2
Author:
Álvaro Sánchez-Mariscal
  • Constructor Details

    • LocalStorageModuleConfiguration

      public LocalStorageModuleConfiguration()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Whether to enable or disable the whole Local Storage module.
    • isPresignedRequestController

      public boolean isPresignedRequestController()
      Whether the presigned request controller endpoints are enabled for the local storage module.
      Returns:
      true if the controller is enabled
    • setPresignedRequestController

      public void setPresignedRequestController(boolean presignedRequestController)
      Enables or disables the presigned request controller endpoints for the local storage module.
      Parameters:
      presignedRequestController - whether the controller should be enabled