Class CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.S3BucketDestinationProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.S3BucketDestinationProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.S3BucketDestinationProperty>
A builder for
CfnStorageLensPropsMixin.S3BucketDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getAccountId()Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getArn()arn(IBucketRef arn) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getArn()build()Builds the configured instance.Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getEncryption()encryption(IResolvable encryption) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getEncryption()Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getFormat()outputSchemaVersion(String outputSchemaVersion) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder accountId(String accountId) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getAccountId()- Parameters:
accountId- This property contains the details of the AWS account ID of the S3 Storage Lens export bucket destination.- Returns:
this
-
arn
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder arn(String arn) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getArn()- Parameters:
arn- This property contains the details of the ARN of the bucket destination of the S3 Storage Lens export.- Returns:
this
-
arn
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder arn(IBucketRef arn) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getArn()- Parameters:
arn- This property contains the details of the ARN of the bucket destination of the S3 Storage Lens export.- Returns:
this
-
encryption
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getEncryption()- Parameters:
encryption- This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.- Returns:
this
-
encryption
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder encryption(CfnStorageLensPropsMixin.EncryptionProperty encryption) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getEncryption()- Parameters:
encryption- This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.- Returns:
this
-
format
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder format(String format) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getFormat()- Parameters:
format- This property contains the details of the format of the S3 Storage Lens export bucket destination.- Returns:
this
-
outputSchemaVersion
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder outputSchemaVersion(String outputSchemaVersion) - Parameters:
outputSchemaVersion- This property contains the details of the output schema version of the S3 Storage Lens export bucket destination.- Returns:
this
-
prefix
@Stability(Stable) public CfnStorageLensPropsMixin.S3BucketDestinationProperty.Builder prefix(String prefix) Sets the value ofCfnStorageLensPropsMixin.S3BucketDestinationProperty.getPrefix()- Parameters:
prefix- This property contains the details of the prefix of the bucket destination of the S3 Storage Lens export .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.S3BucketDestinationProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.S3BucketDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-