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