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.BuilderstorageLensConfiguration(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
@Stability(Stable) public static CfnStorageLens.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLens>- Returns:
- a newly built instance of
CfnStorageLens.
-