Represents bucket logging configuration used to control bucket-based server access logging in Amazon S3.
For logging to be enabled for a bucket both the destinationBucketName
and logfilePrefix
must not be null
, and the named bucket must exist. When both variables are not null
, this object represents an enabled logging configuration (as indicated by {@link #isLoggingEnabled()}).
If either the targetBucketName
or logfilePrefix
are null
, this object represents a disabled logging configuration (as indicated by {@link #isLoggingEnabled()}).
Server access logging can be enabled or disabled with {@link AmazonS3Client#setBucketLoggingConfiguration(SetBucketLoggingConfigurationRequest)}and the current status of server access logging for a bucket can be retrieved through {@link AmazonS3Client#getBucketLoggingConfiguration(String)} @see AmazonS3#getBucketLoggingConfiguration(String) @see AmazonS3#setBucketLoggingConfiguration(SetBucketLoggingConfigurationRequest)
|
|