Class CfnStorageLens.StorageLensGroupLevelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.StorageLensGroupLevelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.StorageLensGroupLevelProperty>
- Enclosing interface:
CfnStorageLens.StorageLensGroupLevelProperty
@Stability(Stable)
public static final class CfnStorageLens.StorageLensGroupLevelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.StorageLensGroupLevelProperty>
A builder for
CfnStorageLens.StorageLensGroupLevelProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.storageLensGroupSelectionCriteria
(IResolvable storageLensGroupSelectionCriteria) storageLensGroupSelectionCriteria
(CfnStorageLens.StorageLensGroupSelectionCriteriaProperty storageLensGroupSelectionCriteria)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storageLensGroupSelectionCriteria
@Stability(Stable) public CfnStorageLens.StorageLensGroupLevelProperty.Builder storageLensGroupSelectionCriteria(IResolvable storageLensGroupSelectionCriteria) Sets the value ofCfnStorageLens.StorageLensGroupLevelProperty.getStorageLensGroupSelectionCriteria()
- Parameters:
storageLensGroupSelectionCriteria
- This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.- Returns:
this
-
storageLensGroupSelectionCriteria
@Stability(Stable) public CfnStorageLens.StorageLensGroupLevelProperty.Builder storageLensGroupSelectionCriteria(CfnStorageLens.StorageLensGroupSelectionCriteriaProperty storageLensGroupSelectionCriteria) Sets the value ofCfnStorageLens.StorageLensGroupLevelProperty.getStorageLensGroupSelectionCriteria()
- Parameters:
storageLensGroupSelectionCriteria
- This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLens.StorageLensGroupLevelProperty>
- Returns:
- a new instance of
CfnStorageLens.StorageLensGroupLevelProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-