Class CfnStorageLens.DataExportProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.DataExportProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.DataExportProperty>
- Enclosing interface:
CfnStorageLens.DataExportProperty
@Stability(Stable)
public static final class CfnStorageLens.DataExportProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.DataExportProperty>
A builder for
CfnStorageLens.DataExportProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchMetrics(IResolvable cloudWatchMetrics) Sets the value ofCfnStorageLens.DataExportProperty.getCloudWatchMetrics()cloudWatchMetrics(CfnStorageLens.CloudWatchMetricsProperty cloudWatchMetrics) Sets the value ofCfnStorageLens.DataExportProperty.getCloudWatchMetrics()s3BucketDestination(IResolvable s3BucketDestination) Sets the value ofCfnStorageLens.DataExportProperty.getS3BucketDestination()s3BucketDestination(CfnStorageLens.S3BucketDestinationProperty s3BucketDestination) Sets the value ofCfnStorageLens.DataExportProperty.getS3BucketDestination()storageLensTableDestination(IResolvable storageLensTableDestination) Sets the value ofCfnStorageLens.DataExportProperty.getStorageLensTableDestination()storageLensTableDestination(CfnStorageLens.StorageLensTableDestinationProperty storageLensTableDestination) Sets the value ofCfnStorageLens.DataExportProperty.getStorageLensTableDestination()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchMetrics
@Stability(Stable) public CfnStorageLens.DataExportProperty.Builder cloudWatchMetrics(IResolvable cloudWatchMetrics) Sets the value ofCfnStorageLens.DataExportProperty.getCloudWatchMetrics()- Parameters:
cloudWatchMetrics- This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.- Returns:
this
-
cloudWatchMetrics
@Stability(Stable) public CfnStorageLens.DataExportProperty.Builder cloudWatchMetrics(CfnStorageLens.CloudWatchMetricsProperty cloudWatchMetrics) Sets the value ofCfnStorageLens.DataExportProperty.getCloudWatchMetrics()- Parameters:
cloudWatchMetrics- This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.- Returns:
this
-
s3BucketDestination
@Stability(Stable) public CfnStorageLens.DataExportProperty.Builder s3BucketDestination(IResolvable s3BucketDestination) Sets the value ofCfnStorageLens.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 CfnStorageLens.DataExportProperty.Builder s3BucketDestination(CfnStorageLens.S3BucketDestinationProperty s3BucketDestination) Sets the value ofCfnStorageLens.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 CfnStorageLens.DataExportProperty.Builder storageLensTableDestination(IResolvable storageLensTableDestination) Sets the value ofCfnStorageLens.DataExportProperty.getStorageLensTableDestination()- 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 CfnStorageLens.DataExportProperty.Builder storageLensTableDestination(CfnStorageLens.StorageLensTableDestinationProperty storageLensTableDestination) Sets the value ofCfnStorageLens.DataExportProperty.getStorageLensTableDestination()- 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<CfnStorageLens.DataExportProperty>- Returns:
- a new instance of
CfnStorageLens.DataExportProperty - Throws:
NullPointerException- if any required attribute was not provided
-