@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageLensGroupOrOperator extends Object implements Serializable, Cloneable
A container element for specifying Or
rule conditions. The rule conditions determine the subset of
objects to which the Or
rule applies. Objects can match any of the listed filter conditions, which are
joined by the Or
logical operator. Only one of each filter condition is allowed.
Constructor and Description |
---|
StorageLensGroupOrOperator() |
Modifier and Type | Method and Description |
---|---|
StorageLensGroupOrOperator |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMatchAnyPrefix()
Filters objects that match any of the specified prefixes.
|
List<String> |
getMatchAnySuffix()
Filters objects that match any of the specified suffixes.
|
List<S3Tag> |
getMatchAnyTag()
Filters objects that match any of the specified S3 object tags.
|
MatchObjectAge |
getMatchObjectAge()
Filters objects that match the specified object age range.
|
MatchObjectSize |
getMatchObjectSize()
Filters objects that match the specified object size range.
|
int |
hashCode() |
void |
setMatchAnyPrefix(Collection<String> matchAnyPrefix)
Filters objects that match any of the specified prefixes.
|
void |
setMatchAnySuffix(Collection<String> matchAnySuffix)
Filters objects that match any of the specified suffixes.
|
void |
setMatchAnyTag(Collection<S3Tag> matchAnyTag)
Filters objects that match any of the specified S3 object tags.
|
void |
setMatchObjectAge(MatchObjectAge matchObjectAge)
Filters objects that match the specified object age range.
|
void |
setMatchObjectSize(MatchObjectSize matchObjectSize)
Filters objects that match the specified object size range.
|
String |
toString()
Returns a string representation of this object.
|
StorageLensGroupOrOperator |
withMatchAnyPrefix(Collection<String> matchAnyPrefix)
Filters objects that match any of the specified prefixes.
|
StorageLensGroupOrOperator |
withMatchAnyPrefix(String... matchAnyPrefix)
Filters objects that match any of the specified prefixes.
|
StorageLensGroupOrOperator |
withMatchAnySuffix(Collection<String> matchAnySuffix)
Filters objects that match any of the specified suffixes.
|
StorageLensGroupOrOperator |
withMatchAnySuffix(String... matchAnySuffix)
Filters objects that match any of the specified suffixes.
|
StorageLensGroupOrOperator |
withMatchAnyTag(Collection<S3Tag> matchAnyTag)
Filters objects that match any of the specified S3 object tags.
|
StorageLensGroupOrOperator |
withMatchAnyTag(S3Tag... matchAnyTag)
Filters objects that match any of the specified S3 object tags.
|
StorageLensGroupOrOperator |
withMatchObjectAge(MatchObjectAge matchObjectAge)
Filters objects that match the specified object age range.
|
StorageLensGroupOrOperator |
withMatchObjectSize(MatchObjectSize matchObjectSize)
Filters objects that match the specified object size range.
|
public List<String> getMatchAnyPrefix()
Filters objects that match any of the specified prefixes.
public void setMatchAnyPrefix(Collection<String> matchAnyPrefix)
Filters objects that match any of the specified prefixes.
matchAnyPrefix
- Filters objects that match any of the specified prefixes.public StorageLensGroupOrOperator withMatchAnyPrefix(String... matchAnyPrefix)
Filters objects that match any of the specified prefixes.
NOTE: This method appends the values to the existing list (if any). Use
setMatchAnyPrefix(java.util.Collection)
or withMatchAnyPrefix(java.util.Collection)
if you want
to override the existing values.
matchAnyPrefix
- Filters objects that match any of the specified prefixes.public StorageLensGroupOrOperator withMatchAnyPrefix(Collection<String> matchAnyPrefix)
Filters objects that match any of the specified prefixes.
matchAnyPrefix
- Filters objects that match any of the specified prefixes.public List<String> getMatchAnySuffix()
Filters objects that match any of the specified suffixes.
public void setMatchAnySuffix(Collection<String> matchAnySuffix)
Filters objects that match any of the specified suffixes.
matchAnySuffix
- Filters objects that match any of the specified suffixes.public StorageLensGroupOrOperator withMatchAnySuffix(String... matchAnySuffix)
Filters objects that match any of the specified suffixes.
NOTE: This method appends the values to the existing list (if any). Use
setMatchAnySuffix(java.util.Collection)
or withMatchAnySuffix(java.util.Collection)
if you want
to override the existing values.
matchAnySuffix
- Filters objects that match any of the specified suffixes.public StorageLensGroupOrOperator withMatchAnySuffix(Collection<String> matchAnySuffix)
Filters objects that match any of the specified suffixes.
matchAnySuffix
- Filters objects that match any of the specified suffixes.public List<S3Tag> getMatchAnyTag()
Filters objects that match any of the specified S3 object tags.
public void setMatchAnyTag(Collection<S3Tag> matchAnyTag)
Filters objects that match any of the specified S3 object tags.
matchAnyTag
- Filters objects that match any of the specified S3 object tags.public StorageLensGroupOrOperator withMatchAnyTag(S3Tag... matchAnyTag)
Filters objects that match any of the specified S3 object tags.
NOTE: This method appends the values to the existing list (if any). Use
setMatchAnyTag(java.util.Collection)
or withMatchAnyTag(java.util.Collection)
if you want to
override the existing values.
matchAnyTag
- Filters objects that match any of the specified S3 object tags.public StorageLensGroupOrOperator withMatchAnyTag(Collection<S3Tag> matchAnyTag)
Filters objects that match any of the specified S3 object tags.
matchAnyTag
- Filters objects that match any of the specified S3 object tags.public void setMatchObjectAge(MatchObjectAge matchObjectAge)
Filters objects that match the specified object age range.
matchObjectAge
- Filters objects that match the specified object age range.public MatchObjectAge getMatchObjectAge()
Filters objects that match the specified object age range.
public StorageLensGroupOrOperator withMatchObjectAge(MatchObjectAge matchObjectAge)
Filters objects that match the specified object age range.
matchObjectAge
- Filters objects that match the specified object age range.public void setMatchObjectSize(MatchObjectSize matchObjectSize)
Filters objects that match the specified object size range.
matchObjectSize
- Filters objects that match the specified object size range.public MatchObjectSize getMatchObjectSize()
Filters objects that match the specified object size range.
public StorageLensGroupOrOperator withMatchObjectSize(MatchObjectSize matchObjectSize)
Filters objects that match the specified object size range.
matchObjectSize
- Filters objects that match the specified object size range.public String toString()
toString
in class Object
Object.toString()
public StorageLensGroupOrOperator clone()