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()
-
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
-
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
-