Class CfnStorageLensGroup.MatchObjectSizeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLensGroup.MatchObjectSizeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensGroup.MatchObjectSizeProperty>
- Enclosing interface:
CfnStorageLensGroup.MatchObjectSizeProperty
@Stability(Stable)
public static final class CfnStorageLensGroup.MatchObjectSizeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensGroup.MatchObjectSizeProperty>
A builder for
CfnStorageLensGroup.MatchObjectSizeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.bytesGreaterThan
(Number bytesGreaterThan) Sets the value ofCfnStorageLensGroup.MatchObjectSizeProperty.getBytesGreaterThan()
bytesLessThan
(Number bytesLessThan) Sets the value ofCfnStorageLensGroup.MatchObjectSizeProperty.getBytesLessThan()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytesGreaterThan
@Stability(Stable) public CfnStorageLensGroup.MatchObjectSizeProperty.Builder bytesGreaterThan(Number bytesGreaterThan) Sets the value ofCfnStorageLensGroup.MatchObjectSizeProperty.getBytesGreaterThan()
- Parameters:
bytesGreaterThan
- This property specifies the minimum object size in bytes. The value must be a positive number, greater than 0 and less than 5 TB.- Returns:
this
-
bytesLessThan
@Stability(Stable) public CfnStorageLensGroup.MatchObjectSizeProperty.Builder bytesLessThan(Number bytesLessThan) Sets the value ofCfnStorageLensGroup.MatchObjectSizeProperty.getBytesLessThan()
- Parameters:
bytesLessThan
- This property specifies the maximum object size in bytes. The value must be a positive number, greater than the minimum object size and less than 5 TB.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLensGroup.MatchObjectSizeProperty>
- Returns:
- a new instance of
CfnStorageLensGroup.MatchObjectSizeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-