Class CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty>
- Enclosing interface:
CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty
@Stability(Stable)
public static final class CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty>
A builder for
CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.bytesGreaterThan(Number bytesGreaterThan) bytesLessThan(Number bytesLessThan) Sets the value ofCfnStorageLensGroupPropsMixin.MatchObjectSizeProperty.getBytesLessThan()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytesGreaterThan
@Stability(Stable) public CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty.Builder bytesGreaterThan(Number bytesGreaterThan) - 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 CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty.Builder bytesLessThan(Number bytesLessThan) Sets the value ofCfnStorageLensGroupPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty>- Returns:
- a new instance of
CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty - Throws:
NullPointerException- if any required attribute was not provided
-