Class CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty>
- Enclosing interface:
CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty
@Stability(Stable)
public static final class CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.isEnabled(IResolvable isEnabled) selectionCriteria(CfnStorageLensPropsMixin.SelectionCriteriaProperty selectionCriteria) selectionCriteria(IResolvable selectionCriteria)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isEnabled
@Stability(Stable) public CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder isEnabled(Boolean isEnabled) - Parameters:
isEnabled- This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder isEnabled(IResolvable isEnabled) - Parameters:
isEnabled- This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.- Returns:
this
-
selectionCriteria
@Stability(Stable) public CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder selectionCriteria(IResolvable selectionCriteria) - Parameters:
selectionCriteria- This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.- Returns:
this
-
selectionCriteria
@Stability(Stable) public CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty.Builder selectionCriteria(CfnStorageLensPropsMixin.SelectionCriteriaProperty selectionCriteria) - Parameters:
selectionCriteria- This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty>- Returns:
- a new instance of
CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty - Throws:
NullPointerException- if any required attribute was not provided
-