Class CfnStorageLens.SelectionCriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.SelectionCriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.SelectionCriteriaProperty>
- Enclosing interface:
CfnStorageLens.SelectionCriteriaProperty
@Stability(Stable)
public static final class CfnStorageLens.SelectionCriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.SelectionCriteriaProperty>
A builder for
CfnStorageLens.SelectionCriteriaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStorageLens.SelectionCriteriaProperty.getDelimiter()
Sets the value ofCfnStorageLens.SelectionCriteriaProperty.getMaxDepth()
minStorageBytesPercentage
(Number minStorageBytesPercentage) Sets the value ofCfnStorageLens.SelectionCriteriaProperty.getMinStorageBytesPercentage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delimiter
@Stability(Stable) public CfnStorageLens.SelectionCriteriaProperty.Builder delimiter(String delimiter) Sets the value ofCfnStorageLens.SelectionCriteriaProperty.getDelimiter()
- Parameters:
delimiter
- This property contains the details of the S3 Storage Lens delimiter being used.- Returns:
this
-
maxDepth
@Stability(Stable) public CfnStorageLens.SelectionCriteriaProperty.Builder maxDepth(Number maxDepth) Sets the value ofCfnStorageLens.SelectionCriteriaProperty.getMaxDepth()
- Parameters:
maxDepth
- This property contains the details of the max depth that S3 Storage Lens will collect metrics up to.- Returns:
this
-
minStorageBytesPercentage
@Stability(Stable) public CfnStorageLens.SelectionCriteriaProperty.Builder minStorageBytesPercentage(Number minStorageBytesPercentage) Sets the value ofCfnStorageLens.SelectionCriteriaProperty.getMinStorageBytesPercentage()
- Parameters:
minStorageBytesPercentage
- This property contains the details of the minimum storage bytes percentage threshold that S3 Storage Lens will collect metrics up to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLens.SelectionCriteriaProperty>
- Returns:
- a new instance of
CfnStorageLens.SelectionCriteriaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-