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