Package io.micronaut.objectstorage.aws
Class AwsS3Configuration
java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
io.micronaut.objectstorage.aws.AwsS3Configuration
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.core.util.Toggleable
,ObjectStorageConfiguration
,ObjectStorageModuleConfiguration
@EachProperty("micronaut.object-storage.aws")
@Introspected
public class AwsS3Configuration
extends AbstractObjectStorageConfiguration
AWS object storage configuration properties.
- Since:
- 1.0
- Author:
- Pavol Gressa
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Configuration Prefix ending.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
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 ending.- See Also:
-
PREFIX
Configuration Prefix.- See Also:
-
-
Constructor Details
-
AwsS3Configuration
- Parameters:
name
- Bean Qualifier name
-
-
Method Details
-
getBucket
The name of the AWS S3 bucket.- Returns:
- The name of the AWS S3 bucket.
-
setBucket
- Parameters:
bucket
- The name of the AWS S3 bucket.
-
isEnabled
public boolean isEnabled()Whether to enable or disable this object storage.- Since:
- 2.0.2
-