@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlPlaneTagFilter extends Object implements Serializable, Cloneable, StructuredPojo
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 |
|---|---|
ControlPlaneTagFilter |
clone() |
boolean |
equals(Object obj) |
List<TagCondition> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
List<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 |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setOrConditions(Collection<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.
|
String |
toString()
Returns a string representation of this object.
|
ControlPlaneTagFilter |
withAndConditions(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(Collection<List<TagCondition>> orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneTagFilter |
withOrConditions(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 List<List<TagCondition>> getOrConditions()
A list of conditions which would be applied together with an OR condition.
OR condition.public void setOrConditions(Collection<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(List<TagCondition>... orConditions)
A list of conditions which would be applied together with an OR condition.
NOTE: This method appends the values to the existing list (if any). Use
setOrConditions(java.util.Collection) or withOrConditions(java.util.Collection) if you want to
override the existing values.
orConditions - A list of conditions which would be applied together with an OR condition.public ControlPlaneTagFilter withOrConditions(Collection<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 List<TagCondition> getAndConditions()
A list of conditions which would be applied together with an AND condition.
AND condition.public void setAndConditions(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.
NOTE: This method appends the values to the existing list (if any). Use
setAndConditions(java.util.Collection) or withAndConditions(java.util.Collection) if you want
to override the existing values.
andConditions - A list of conditions which would be applied together with an AND condition.public ControlPlaneTagFilter withAndConditions(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 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 TagCondition getTagCondition()
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.
tagCondition - A leaf node condition which can be used to specify a tag condition.public String toString()
toString in class ObjectObject.toString()public ControlPlaneTagFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.