Class CfnStorageLensGroup.AndProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLensGroup.AndProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLensGroup.AndProperty>
- Enclosing interface:
CfnStorageLensGroup.AndProperty
@Stability(Stable)
public static final class CfnStorageLensGroup.AndProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLensGroup.AndProperty>
A builder for
CfnStorageLensGroup.AndProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchAnyPrefix(List<String> matchAnyPrefix) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchAnyPrefix()matchAnySuffix(List<String> matchAnySuffix) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchAnySuffix()matchAnyTag(List<? extends Object> matchAnyTag) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchAnyTag()matchAnyTag(IResolvable matchAnyTag) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchAnyTag()matchObjectAge(IResolvable matchObjectAge) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchObjectAge()matchObjectAge(CfnStorageLensGroup.MatchObjectAgeProperty matchObjectAge) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchObjectAge()matchObjectSize(IResolvable matchObjectSize) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchObjectSize()matchObjectSize(CfnStorageLensGroup.MatchObjectSizeProperty matchObjectSize) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchObjectSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchAnyPrefix
@Stability(Stable) public CfnStorageLensGroup.AndProperty.Builder matchAnyPrefix(List<String> matchAnyPrefix) Sets the value ofCfnStorageLensGroup.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 CfnStorageLensGroup.AndProperty.Builder matchAnySuffix(List<String> matchAnySuffix) Sets the value ofCfnStorageLensGroup.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 CfnStorageLensGroup.AndProperty.Builder matchAnyTag(IResolvable matchAnyTag) Sets the value ofCfnStorageLensGroup.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 CfnStorageLensGroup.AndProperty.Builder matchAnyTag(List<? extends Object> matchAnyTag) Sets the value ofCfnStorageLensGroup.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 CfnStorageLensGroup.AndProperty.Builder matchObjectAge(IResolvable matchObjectAge) Sets the value ofCfnStorageLensGroup.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 CfnStorageLensGroup.AndProperty.Builder matchObjectAge(CfnStorageLensGroup.MatchObjectAgeProperty matchObjectAge) Sets the value ofCfnStorageLensGroup.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 CfnStorageLensGroup.AndProperty.Builder matchObjectSize(IResolvable matchObjectSize) Sets the value ofCfnStorageLensGroup.AndProperty.getMatchObjectSize()- Parameters:
matchObjectSize- This property containsBytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).- Returns:
this
-
matchObjectSize
@Stability(Stable) public CfnStorageLensGroup.AndProperty.Builder matchObjectSize(CfnStorageLensGroup.MatchObjectSizeProperty matchObjectSize) Sets the value ofCfnStorageLensGroup.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<CfnStorageLensGroup.AndProperty>- Returns:
- a new instance of
CfnStorageLensGroup.AndProperty - Throws:
NullPointerException- if any required attribute was not provided
-