public static final class CfnStorageLens.S3BucketDestinationProperty.Builder
extends java.lang.Object
CfnStorageLens.S3BucketDestinationProperty
Constructor and Description |
---|
Builder() |
public CfnStorageLens.S3BucketDestinationProperty.Builder accountId(java.lang.String accountId)
CfnStorageLens.S3BucketDestinationProperty.getAccountId()
accountId
- This property contains the details of the AWS account ID of the S3 Storage Lens export bucket destination. This parameter is required.this
public CfnStorageLens.S3BucketDestinationProperty.Builder arn(java.lang.String arn)
CfnStorageLens.S3BucketDestinationProperty.getArn()
arn
- This property contains the details of the ARN of the bucket destination of the S3 Storage Lens export. This parameter is required.this
public CfnStorageLens.S3BucketDestinationProperty.Builder format(java.lang.String format)
CfnStorageLens.S3BucketDestinationProperty.getFormat()
format
- This property contains the details of the format of the S3 Storage Lens export bucket destination. This parameter is required.this
public CfnStorageLens.S3BucketDestinationProperty.Builder outputSchemaVersion(java.lang.String outputSchemaVersion)
CfnStorageLens.S3BucketDestinationProperty.getOutputSchemaVersion()
outputSchemaVersion
- This property contains the details of the output schema version of the S3 Storage Lens export bucket destination. This parameter is required.this
public CfnStorageLens.S3BucketDestinationProperty.Builder encryption(IResolvable encryption)
CfnStorageLens.S3BucketDestinationProperty.getEncryption()
encryption
- This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.this
public CfnStorageLens.S3BucketDestinationProperty.Builder encryption(CfnStorageLens.EncryptionProperty encryption)
CfnStorageLens.S3BucketDestinationProperty.getEncryption()
encryption
- This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.this
public CfnStorageLens.S3BucketDestinationProperty.Builder prefix(java.lang.String prefix)
CfnStorageLens.S3BucketDestinationProperty.getPrefix()
prefix
- This property contains the details of the prefix of the bucket destination of the S3 Storage Lens export .this
public CfnStorageLens.S3BucketDestinationProperty build()
CfnStorageLens.S3BucketDestinationProperty
java.lang.NullPointerException
- if any required attribute was not provided