@Throws(value=S3ErrorTypeProvider.class) public class BucketLoggingConfigurationOperations extends S3Operations<BucketService>
DEFAULT_CANNED_ACL, NOT_ENCODED, REGION_DEFAULT| Constructor and Description |
|---|
BucketLoggingConfigurationOperations() |
| Modifier and Type | Method and Description |
|---|---|
BucketLoggingConfiguration |
getBucketLoggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName)
Answers the logging status of a bucket and the permissions users have to view and modify that status.
|
void |
setBucketLoggingConfiguration(S3Configuration config,
S3Connection connection,
String bucketName,
BucketLoggingConfiguration bucketLoggingConfiguration)
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters.
|
public BucketLoggingConfigurationOperations()
public BucketLoggingConfiguration getBucketLoggingConfiguration(@Config S3Configuration config, @Connection S3Connection connection, String bucketName)
config - Configuration for Amazon S3 connector.connection - Amazon S3 connection instance.bucketName - the bucket whose logging status to retrieve.public void setBucketLoggingConfiguration(@Config
S3Configuration config,
@Connection
S3Connection connection,
String bucketName,
@Content
BucketLoggingConfiguration bucketLoggingConfiguration)
config - Configuration for Amazon S3 connector.connection - Amazon S3 connection instance.bucketName - The bucket name.bucketLoggingConfiguration - The bucket logging configuration.Copyright © 2021 MuleSoft, Inc.. All rights reserved.