Class CfnStorageLensGroupPropsMixin.AndProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnStorageLensGroupPropsMixin.AndProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensGroupPropsMixin.AndProperty>
- Enclosing interface:
CfnStorageLensGroupPropsMixin.AndProperty
@Stability(Stable)
public static final class CfnStorageLensGroupPropsMixin.AndProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensGroupPropsMixin.AndProperty>
A builder for
CfnStorageLensGroupPropsMixin.AndProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchAnyPrefix(List<String> matchAnyPrefix) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnyPrefix()matchAnySuffix(List<String> matchAnySuffix) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnySuffix()matchAnyTag(List<? extends Object> matchAnyTag) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnyTag()matchAnyTag(IResolvable matchAnyTag) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnyTag()matchObjectAge(CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty matchObjectAge) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectAge()matchObjectAge(IResolvable matchObjectAge) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectAge()matchObjectSize(CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty matchObjectSize) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectSize()matchObjectSize(IResolvable matchObjectSize) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchAnyPrefix
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchAnyPrefix(List<String> matchAnyPrefix) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnyPrefix()- Parameters:
matchAnyPrefix- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.- Returns:
this
-
matchAnySuffix
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchAnySuffix(List<String> matchAnySuffix) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnySuffix()- Parameters:
matchAnySuffix- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.- Returns:
this
-
matchAnyTag
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchAnyTag(IResolvable matchAnyTag) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnyTag()- Parameters:
matchAnyTag- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.- Returns:
this
-
matchAnyTag
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchAnyTag(List<? extends Object> matchAnyTag) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchAnyTag()- Parameters:
matchAnyTag- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.- Returns:
this
-
matchObjectAge
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchObjectAge(IResolvable matchObjectAge) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectAge()- Parameters:
matchObjectAge- This property containsDaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).- Returns:
this
-
matchObjectAge
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchObjectAge(CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty matchObjectAge) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectAge()- Parameters:
matchObjectAge- This property containsDaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).- Returns:
this
-
matchObjectSize
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchObjectSize(IResolvable matchObjectSize) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectSize()- Parameters:
matchObjectSize- This property containsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).- Returns:
this
-
matchObjectSize
@Stability(Stable) public CfnStorageLensGroupPropsMixin.AndProperty.Builder matchObjectSize(CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty matchObjectSize) Sets the value ofCfnStorageLensGroupPropsMixin.AndProperty.getMatchObjectSize()- Parameters:
matchObjectSize- This property containsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageLensGroupPropsMixin.AndProperty>- Returns:
- a new instance of
CfnStorageLensGroupPropsMixin.AndProperty - Throws:
NullPointerException- if any required attribute was not provided
-