@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageLensGroupFilter extends Object implements Serializable, Cloneable
The filter element sets the criteria for the Storage Lens group data that is displayed. For multiple filter
conditions, the AND
or OR
logical operator is used.
Constructor and Description |
---|
StorageLensGroupFilter() |
Modifier and Type | Method and Description |
---|---|
StorageLensGroupFilter |
clone() |
boolean |
equals(Object obj) |
StorageLensGroupAndOperator |
getAnd()
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data.
|
List<String> |
getMatchAnyPrefix()
Contains a list of prefixes.
|
List<String> |
getMatchAnySuffix()
Contains a list of suffixes.
|
List<S3Tag> |
getMatchAnyTag()
Contains the list of S3 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). |
StorageLensGroupOrOperator |
getOr()
A single logical operator that allows multiple filter conditions to be joined.
|
int |
hashCode() |
void |
setAnd(StorageLensGroupAndOperator and)
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data.
|
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 S3 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). |
void |
setOr(StorageLensGroupOrOperator or)
A single logical operator that allows multiple filter conditions to be joined.
|
String |
toString()
Returns a string representation of this object.
|
StorageLensGroupFilter |
withAnd(StorageLensGroupAndOperator and)
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data.
|
StorageLensGroupFilter |
withMatchAnyPrefix(Collection<String> matchAnyPrefix)
Contains a list of prefixes.
|
StorageLensGroupFilter |
withMatchAnyPrefix(String... matchAnyPrefix)
Contains a list of prefixes.
|
StorageLensGroupFilter |
withMatchAnySuffix(Collection<String> matchAnySuffix)
Contains a list of suffixes.
|
StorageLensGroupFilter |
withMatchAnySuffix(String... matchAnySuffix)
Contains a list of suffixes.
|
StorageLensGroupFilter |
withMatchAnyTag(Collection<S3Tag> matchAnyTag)
Contains the list of S3 object tags.
|
StorageLensGroupFilter |
withMatchAnyTag(S3Tag... matchAnyTag)
Contains the list of S3 object tags.
|
StorageLensGroupFilter |
withMatchObjectAge(MatchObjectAge matchObjectAge)
Contains
DaysGreaterThan and DaysLessThan to define the object age range (minimum and
maximum number of days). |
StorageLensGroupFilter |
withMatchObjectSize(MatchObjectSize matchObjectSize)
Contains
BytesGreaterThan and BytesLessThan to define the object size range (minimum
and maximum number of Bytes). |
StorageLensGroupFilter |
withOr(StorageLensGroupOrOperator or)
A single logical operator that allows multiple filter conditions to be joined.
|
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 StorageLensGroupFilter 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 StorageLensGroupFilter 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 StorageLensGroupFilter 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 StorageLensGroupFilter 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 S3 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 S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchAnyTag
- Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are
allowed.public StorageLensGroupFilter withMatchAnyTag(S3Tag... matchAnyTag)
Contains the list of S3 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 S3 object tags. At least one object tag must be specified. Up to 10 object tags are
allowed.public StorageLensGroupFilter withMatchAnyTag(Collection<S3Tag> matchAnyTag)
Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchAnyTag
- Contains the list of S3 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 StorageLensGroupFilter 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 StorageLensGroupFilter 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 void setAnd(StorageLensGroupAndOperator and)
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data. Objects must match all of the listed filter conditions that are joined by the And
logical operator. Only one of each filter condition is allowed.
and
- A logical operator that allows multiple filter conditions to be joined for more complex comparisons of
Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the
And
logical operator. Only one of each filter condition is allowed.public StorageLensGroupAndOperator getAnd()
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data. Objects must match all of the listed filter conditions that are joined by the And
logical operator. Only one of each filter condition is allowed.
And
logical operator. Only one of each filter condition is allowed.public StorageLensGroupFilter withAnd(StorageLensGroupAndOperator and)
A logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage
Lens group data. Objects must match all of the listed filter conditions that are joined by the And
logical operator. Only one of each filter condition is allowed.
and
- A logical operator that allows multiple filter conditions to be joined for more complex comparisons of
Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the
And
logical operator. Only one of each filter condition is allowed.public void setOr(StorageLensGroupOrOperator or)
A single logical operator that allows multiple filter conditions to be joined. 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.
or
- A single logical operator that allows multiple filter conditions to be joined. 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.public StorageLensGroupOrOperator getOr()
A single logical operator that allows multiple filter conditions to be joined. 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.
Or
logical operator. Only one of each
filter condition is allowed.public StorageLensGroupFilter withOr(StorageLensGroupOrOperator or)
A single logical operator that allows multiple filter conditions to be joined. 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.
or
- A single logical operator that allows multiple filter conditions to be joined. 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.public String toString()
toString
in class Object
Object.toString()
public StorageLensGroupFilter clone()