@Stability(value=Stable) public static final class CfnBucket.LoggingConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.LoggingConfigurationProperty>
CfnBucket.LoggingConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.LoggingConfigurationProperty |
build()
Builds the configured instance.
|
CfnBucket.LoggingConfigurationProperty.Builder |
destinationBucketName(String destinationBucketName)
Sets the value of
CfnBucket.LoggingConfigurationProperty.getDestinationBucketName() |
CfnBucket.LoggingConfigurationProperty.Builder |
logFilePrefix(String logFilePrefix)
Sets the value of
CfnBucket.LoggingConfigurationProperty.getLogFilePrefix() |
@Stability(value=Stable) public CfnBucket.LoggingConfigurationProperty.Builder destinationBucketName(String destinationBucketName)
CfnBucket.LoggingConfigurationProperty.getDestinationBucketName()destinationBucketName - The name of the bucket where Amazon S3 should store server access log files.
You can store log files in any bucket that you own. By default, logs are stored in the bucket where the LoggingConfiguration property is defined.this@Stability(value=Stable) public CfnBucket.LoggingConfigurationProperty.Builder logFilePrefix(String logFilePrefix)
CfnBucket.LoggingConfigurationProperty.getLogFilePrefix()logFilePrefix - A prefix for all log object keys.
If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket.this@Stability(value=Stable) public CfnBucket.LoggingConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.LoggingConfigurationProperty>CfnBucket.LoggingConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.