public class ControlPlaneTagFilter
extends java.lang.Object
implements java.io.Serializable
An object that can be used to specify Tag conditions inside the
SearchFilter. This accepts an OR of
AND (List of List) input where:
Top level list specifies conditions that need to be applied with
OR operator
Inner list specifies conditions that need to be applied with AND
operator.
| Constructor and Description |
|---|
ControlPlaneTagFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<TagCondition> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
java.util.List<java.util.List<TagCondition>> |
getOrConditions()
A list of conditions which would be applied together with an
OR condition. |
TagCondition |
getTagCondition()
A leaf node condition which can be used to specify a tag condition.
|
int |
hashCode() |
void |
setAndConditions(java.util.Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setOrConditions(java.util.Collection<java.util.List<TagCondition>> orConditions)
A list of conditions which would be applied together with an
OR condition. |
void |
setTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ControlPlaneTagFilter |
withAndConditions(java.util.Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
ControlPlaneTagFilter |
withAndConditions(TagCondition... andConditions)
A list of conditions which would be applied together with an
AND condition. |
ControlPlaneTagFilter |
withOrConditions(java.util.Collection<java.util.List<TagCondition>> orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneTagFilter |
withOrConditions(java.util.List<TagCondition>... orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneTagFilter |
withTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
|
public java.util.List<java.util.List<TagCondition>> getOrConditions()
A list of conditions which would be applied together with an
OR condition.
A list of conditions which would be applied together with an
OR condition.
public void setOrConditions(java.util.Collection<java.util.List<TagCondition>> orConditions)
A list of conditions which would be applied together with an
OR condition.
orConditions -
A list of conditions which would be applied together with an
OR condition.
public ControlPlaneTagFilter withOrConditions(java.util.List<TagCondition>... orConditions)
A list of conditions which would be applied together with an
OR condition.
Returns a reference to this object so that method calls can be chained together.
orConditions -
A list of conditions which would be applied together with an
OR condition.
public ControlPlaneTagFilter withOrConditions(java.util.Collection<java.util.List<TagCondition>> orConditions)
A list of conditions which would be applied together with an
OR condition.
Returns a reference to this object so that method calls can be chained together.
orConditions -
A list of conditions which would be applied together with an
OR condition.
public java.util.List<TagCondition> getAndConditions()
A list of conditions which would be applied together with an
AND condition.
A list of conditions which would be applied together with an
AND condition.
public void setAndConditions(java.util.Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition.
andConditions -
A list of conditions which would be applied together with an
AND condition.
public ControlPlaneTagFilter withAndConditions(TagCondition... andConditions)
A list of conditions which would be applied together with an
AND condition.
Returns a reference to this object so that method calls can be chained together.
andConditions -
A list of conditions which would be applied together with an
AND condition.
public ControlPlaneTagFilter withAndConditions(java.util.Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition.
Returns a reference to this object so that method calls can be chained together.
andConditions -
A list of conditions which would be applied together with an
AND condition.
public TagCondition getTagCondition()
A leaf node condition which can be used to specify a tag condition.
A leaf node condition which can be used to specify a tag condition.
public void setTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
tagCondition - A leaf node condition which can be used to specify a tag condition.
public ControlPlaneTagFilter withTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag condition.
Returns a reference to this object so that method calls can be chained together.
tagCondition - A leaf node condition which can be used to specify a tag condition.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object