Class OracleCloudStorageConfiguration
java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
io.micronaut.objectstorage.oraclecloud.OracleCloudStorageConfiguration
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.core.util.Toggleable
,ObjectStorageConfiguration
,ObjectStorageModuleConfiguration
@EachProperty("micronaut.object-storage.oracle-cloud")
public class OracleCloudStorageConfiguration
extends AbstractObjectStorageConfiguration
Oracle Cloud object storage configuration properties.
- Since:
- 1.0
- Author:
- Pavol Gressa
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Configuration Prefix Suffix.static final String
Configuration Prefix.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 name of the OCI Object Storage bucket.@NonNull String
The OCI Object Storage namespace used.boolean
Whether to enable or disable this object storage.void
void
setNamespace
(@NonNull String namespace) Methods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
getName
Methods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
setEnabled
-
Field Details
-
NAME
Configuration Prefix Suffix.- See Also:
-
PREFIX
Configuration Prefix.- See Also:
-
-
Constructor Details
-
OracleCloudStorageConfiguration
Constructor.- Parameters:
name
- Bean Qualifier name.
-
-
Method Details
-
getBucket
The name of the OCI Object Storage bucket.- Returns:
- The name of the OCI Object Storage bucket.
-
setBucket
- Parameters:
bucket
- The name of the OCI Object Storage bucket.
-
getNamespace
The OCI Object Storage namespace used.- Returns:
- the OCI Object Storage namespace used.
-
setNamespace
- Parameters:
namespace
- the OCI Object Storage namespace used.
-
isEnabled
public boolean isEnabled()Whether to enable or disable this object storage.- Since:
- 2.0.2
-