@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageLensGroupAndOperator extends Object implements Serializable, Cloneable
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.
Constructor and Description |
---|
StorageLensGroupAndOperator() |
Modifier and Type | Method and Description |
---|---|
StorageLensGroupAndOperator |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMatchAnyPrefix()
Contains a list of prefixes.
|
List<String> |
getMatchAnySuffix()
Contains a list of suffixes.
|
List<S3Tag> |
getMatchAnyTag()
Contains the list of object tags.
|
MatchObjectAge |
getMatchObjectAge()
Contains
DaysGreaterThan and DaysLessThan to define the object age range (minimum and
maximum number of days). |
MatchObjectSize |
getMatchObjectSize()
Contains
BytesGreaterThan and BytesLessThan to define the object size range (minimum
and maximum number of Bytes). |
int |
hashCode() |
void |
setMatchAnyPrefix(Collection<String> matchAnyPrefix)
Contains a list of prefixes.
|
void |
setMatchAnySuffix(Collection<String> matchAnySuffix)
Contains a list of suffixes.
|
void |
setMatchAnyTag(Collection<S3Tag> matchAnyTag)
Contains the list of object tags.
|
void |
setMatchObjectAge(MatchObjectAge matchObjectAge)
Contains
DaysGreaterThan and DaysLessThan to define the object age range (minimum and
maximum number of days). |
void |
setMatchObjectSize(MatchObjectSize matchObjectSize)
Contains
BytesGreaterThan and BytesLessThan to define the object size range (minimum
and maximum number of Bytes). |
String |
toString()
Returns a string representation of this object.
|
StorageLensGroupAndOperator |
withMatchAnyPrefix(Collection<String> matchAnyPrefix)
Contains a list of prefixes.
|
StorageLensGroupAndOperator |
withMatchAnyPrefix(String... matchAnyPrefix)
Contains a list of prefixes.
|
StorageLensGroupAndOperator |
withMatchAnySuffix(Collection<String> matchAnySuffix)
Contains a list of suffixes.
|
StorageLensGroupAndOperator |
withMatchAnySuffix(String... matchAnySuffix)
Contains a list of suffixes.
|
StorageLensGroupAndOperator |
withMatchAnyTag(Collection<S3Tag> matchAnyTag)
Contains the list of object tags.
|
StorageLensGroupAndOperator |
withMatchAnyTag(S3Tag... matchAnyTag)
Contains the list of object tags.
|
StorageLensGroupAndOperator |
withMatchObjectAge(MatchObjectAge matchObjectAge)
Contains
DaysGreaterThan and DaysLessThan to define the object age range (minimum and
maximum number of days). |
StorageLensGroupAndOperator |
withMatchObjectSize(MatchObjectSize matchObjectSize)
Contains
BytesGreaterThan and BytesLessThan to define the object size range (minimum
and maximum number of Bytes). |
public List<String> getMatchAnyPrefix()
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
public void setMatchAnyPrefix(Collection<String> matchAnyPrefix)
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnyPrefix
- Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.public StorageLensGroupAndOperator withMatchAnyPrefix(String... matchAnyPrefix)
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
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
- Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.public StorageLensGroupAndOperator withMatchAnyPrefix(Collection<String> matchAnyPrefix)
Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnyPrefix
- Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.public List<String> getMatchAnySuffix()
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
public void setMatchAnySuffix(Collection<String> matchAnySuffix)
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnySuffix
- Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.public StorageLensGroupAndOperator withMatchAnySuffix(String... matchAnySuffix)
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
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
- Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.public StorageLensGroupAndOperator withMatchAnySuffix(Collection<String> matchAnySuffix)
Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnySuffix
- Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.public List<S3Tag> getMatchAnyTag()
Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
public void setMatchAnyTag(Collection<S3Tag> matchAnyTag)
Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchAnyTag
- Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are
allowed.public StorageLensGroupAndOperator withMatchAnyTag(S3Tag... matchAnyTag)
Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
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
- Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are
allowed.public StorageLensGroupAndOperator withMatchAnyTag(Collection<S3Tag> matchAnyTag)
Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchAnyTag
- Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are
allowed.public void setMatchObjectAge(MatchObjectAge matchObjectAge)
Contains DaysGreaterThan
and DaysLessThan
to define the object age range (minimum and
maximum number of days).
matchObjectAge
- Contains DaysGreaterThan
and DaysLessThan
to define the object age range
(minimum and maximum number of days).public MatchObjectAge getMatchObjectAge()
Contains DaysGreaterThan
and DaysLessThan
to define the object age range (minimum and
maximum number of days).
DaysGreaterThan
and DaysLessThan
to define the object age range
(minimum and maximum number of days).public StorageLensGroupAndOperator withMatchObjectAge(MatchObjectAge matchObjectAge)
Contains DaysGreaterThan
and DaysLessThan
to define the object age range (minimum and
maximum number of days).
matchObjectAge
- Contains DaysGreaterThan
and DaysLessThan
to define the object age range
(minimum and maximum number of days).public void setMatchObjectSize(MatchObjectSize matchObjectSize)
Contains BytesGreaterThan
and BytesLessThan
to define the object size range (minimum
and maximum number of Bytes).
matchObjectSize
- Contains BytesGreaterThan
and BytesLessThan
to define the object size range
(minimum and maximum number of Bytes).public MatchObjectSize getMatchObjectSize()
Contains BytesGreaterThan
and BytesLessThan
to define the object size range (minimum
and maximum number of Bytes).
BytesGreaterThan
and BytesLessThan
to define the object size range
(minimum and maximum number of Bytes).public StorageLensGroupAndOperator withMatchObjectSize(MatchObjectSize matchObjectSize)
Contains BytesGreaterThan
and BytesLessThan
to define the object size range (minimum
and maximum number of Bytes).
matchObjectSize
- Contains BytesGreaterThan
and BytesLessThan
to define the object size range
(minimum and maximum number of Bytes).public String toString()
toString
in class Object
Object.toString()
public StorageLensGroupAndOperator clone()