Class CfnStorageLens.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens>
- Enclosing class:
- CfnStorageLens
@Stability(Stable)
public static final class CfnStorageLens.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens>
A fluent builder for
CfnStorageLens
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnStorageLens.Builder
storageLensConfiguration
(IResolvable storageLensConfiguration) This resource contains the details Amazon S3 Storage Lens configuration.storageLensConfiguration
(CfnStorageLens.StorageLensConfigurationProperty storageLensConfiguration) This resource contains the details Amazon S3 Storage Lens configuration.A set of tags (key–value pairs) to associate with the Storage Lens configuration.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnStorageLens.Builder
.
-
storageLensConfiguration
@Stability(Stable) public CfnStorageLens.Builder storageLensConfiguration(IResolvable storageLensConfiguration) This resource contains the details Amazon S3 Storage Lens configuration.- Parameters:
storageLensConfiguration
- This resource contains the details Amazon S3 Storage Lens configuration. This parameter is required.- Returns:
this
-
storageLensConfiguration
@Stability(Stable) public CfnStorageLens.Builder storageLensConfiguration(CfnStorageLens.StorageLensConfigurationProperty storageLensConfiguration) This resource contains the details Amazon S3 Storage Lens configuration.- Parameters:
storageLensConfiguration
- This resource contains the details Amazon S3 Storage Lens configuration. This parameter is required.- Returns:
this
-
tags
A set of tags (key–value pairs) to associate with the Storage Lens configuration.- Parameters:
tags
- A set of tags (key–value pairs) to associate with the Storage Lens configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLens>
- Returns:
- a newly built instance of
CfnStorageLens
.
-