Class CfnStorageLensMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensMixinProps>
- Enclosing interface:
CfnStorageLensMixinProps
@Stability(Stable)
public static final class CfnStorageLensMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensMixinProps>
A builder for
CfnStorageLensMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.storageLensConfiguration(CfnStorageLensPropsMixin.StorageLensConfigurationProperty storageLensConfiguration) Sets the value ofCfnStorageLensMixinProps.getStorageLensConfiguration()storageLensConfiguration(IResolvable storageLensConfiguration) Sets the value ofCfnStorageLensMixinProps.getStorageLensConfiguration()Sets the value ofCfnStorageLensMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storageLensConfiguration
@Stability(Stable) public CfnStorageLensMixinProps.Builder storageLensConfiguration(IResolvable storageLensConfiguration) Sets the value ofCfnStorageLensMixinProps.getStorageLensConfiguration()- Parameters:
storageLensConfiguration- This resource contains the details Amazon S3 Storage Lens configuration.- Returns:
this
-
storageLensConfiguration
@Stability(Stable) public CfnStorageLensMixinProps.Builder storageLensConfiguration(CfnStorageLensPropsMixin.StorageLensConfigurationProperty storageLensConfiguration) Sets the value ofCfnStorageLensMixinProps.getStorageLensConfiguration()- Parameters:
storageLensConfiguration- This resource contains the details Amazon S3 Storage Lens configuration.- Returns:
this
-
tags
Sets the value ofCfnStorageLensMixinProps.getTags()- Parameters:
tags- A set of tags (key–value pairs) to associate with the Storage Lens configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensMixinProps>- Returns:
- a new instance of
CfnStorageLensMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-