Class GoogleCloudStorageConfiguration
java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
io.micronaut.objectstorage.googlecloud.GoogleCloudStorageConfiguration
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.core.util.Toggleable
,ObjectStorageConfiguration
,ObjectStorageModuleConfiguration
@EachProperty("micronaut.object-storage.gcp")
public class GoogleCloudStorageConfiguration
extends AbstractObjectStorageConfiguration
Google Cloud 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
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
-
GoogleCloudStorageConfiguration
-
-
Method Details
-
getBucket
The name of the Google Cloud Storage bucket.- Returns:
- The name of the Google Cloud Storage bucket.
-
setBucket
- Parameters:
bucket
- The name of the Google Cloud Storage bucket.
-
isEnabled
public boolean isEnabled()Whether to enable or disable this object storage.- Since:
- 2.0.2
-