Class CfnStorageLensPropsMixin.DataExportProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.DataExportProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.DataExportProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.DataExportProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.DataExportProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.DataExportProperty>
A builder for
CfnStorageLensPropsMixin.DataExportProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchMetrics(CfnStorageLensPropsMixin.CloudWatchMetricsProperty cloudWatchMetrics) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getCloudWatchMetrics()cloudWatchMetrics(IResolvable cloudWatchMetrics) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getCloudWatchMetrics()s3BucketDestination(CfnStorageLensPropsMixin.S3BucketDestinationProperty s3BucketDestination) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getS3BucketDestination()s3BucketDestination(IResolvable s3BucketDestination) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getS3BucketDestination()storageLensTableDestination(CfnStorageLensPropsMixin.StorageLensTableDestinationProperty storageLensTableDestination) storageLensTableDestination(IResolvable storageLensTableDestination)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.DataExportProperty.Builder cloudWatchMetrics(IResolvable cloudWatchMetrics) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getCloudWatchMetrics()- Parameters:
cloudWatchMetrics- This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.- Returns:
this
-
cloudWatchMetrics
@Stability(Stable) public CfnStorageLensPropsMixin.DataExportProperty.Builder cloudWatchMetrics(CfnStorageLensPropsMixin.CloudWatchMetricsProperty cloudWatchMetrics) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getCloudWatchMetrics()- Parameters:
cloudWatchMetrics- This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.- Returns:
this
-
s3BucketDestination
@Stability(Stable) public CfnStorageLensPropsMixin.DataExportProperty.Builder s3BucketDestination(IResolvable s3BucketDestination) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getS3BucketDestination()- Parameters:
s3BucketDestination- This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.- Returns:
this
-
s3BucketDestination
@Stability(Stable) public CfnStorageLensPropsMixin.DataExportProperty.Builder s3BucketDestination(CfnStorageLensPropsMixin.S3BucketDestinationProperty s3BucketDestination) Sets the value ofCfnStorageLensPropsMixin.DataExportProperty.getS3BucketDestination()- Parameters:
s3BucketDestination- This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.- Returns:
this
-
storageLensTableDestination
@Stability(Stable) public CfnStorageLensPropsMixin.DataExportProperty.Builder storageLensTableDestination(IResolvable storageLensTableDestination) - Parameters:
storageLensTableDestination- This property contains the details of the S3 table bucket where the S3 Storage Lens default metrics report will be placed. This property enables you to store your Storage Lens metrics in read-only S3 Tables.- Returns:
this
-
storageLensTableDestination
@Stability(Stable) public CfnStorageLensPropsMixin.DataExportProperty.Builder storageLensTableDestination(CfnStorageLensPropsMixin.StorageLensTableDestinationProperty storageLensTableDestination) - Parameters:
storageLensTableDestination- This property contains the details of the S3 table bucket where the S3 Storage Lens default metrics report will be placed. This property enables you to store your Storage Lens metrics in read-only S3 Tables.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.DataExportProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.DataExportProperty - Throws:
NullPointerException- if any required attribute was not provided
-