@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlPlaneUserAttributeFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that can be used to specify Tag conditions or Hierarchy Group conditions inside the
SearchFilter
.
This accepts an OR
of AND
(List of List) input where:
The top level list specifies conditions that need to be applied with OR
operator
The inner list specifies conditions that need to be applied with AND
operator.
Only one field can be populated. Maximum number of allowed Tag conditions is 25. Maximum number of allowed Hierarchy Group conditions is 20.
Constructor and Description |
---|
ControlPlaneUserAttributeFilter() |
Modifier and Type | Method and Description |
---|---|
ControlPlaneUserAttributeFilter |
clone() |
boolean |
equals(Object obj) |
AttributeAndCondition |
getAndCondition()
A list of conditions which would be applied together with an
AND condition. |
HierarchyGroupCondition |
getHierarchyGroupCondition() |
List<AttributeAndCondition> |
getOrConditions()
A list of conditions which would be applied together with an
OR condition. |
TagCondition |
getTagCondition() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndCondition(AttributeAndCondition andCondition)
A list of conditions which would be applied together with an
AND condition. |
void |
setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition) |
void |
setOrConditions(Collection<AttributeAndCondition> orConditions)
A list of conditions which would be applied together with an
OR condition. |
void |
setTagCondition(TagCondition tagCondition) |
String |
toString()
Returns a string representation of this object.
|
ControlPlaneUserAttributeFilter |
withAndCondition(AttributeAndCondition andCondition)
A list of conditions which would be applied together with an
AND condition. |
ControlPlaneUserAttributeFilter |
withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition) |
ControlPlaneUserAttributeFilter |
withOrConditions(AttributeAndCondition... orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneUserAttributeFilter |
withOrConditions(Collection<AttributeAndCondition> orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneUserAttributeFilter |
withTagCondition(TagCondition tagCondition) |
public List<AttributeAndCondition> getOrConditions()
A list of conditions which would be applied together with an OR
condition.
OR
condition.public void setOrConditions(Collection<AttributeAndCondition> 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 ControlPlaneUserAttributeFilter withOrConditions(AttributeAndCondition... 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 ControlPlaneUserAttributeFilter withOrConditions(Collection<AttributeAndCondition> 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 void setAndCondition(AttributeAndCondition andCondition)
A list of conditions which would be applied together with an AND
condition.
andCondition
- A list of conditions which would be applied together with an AND
condition.public AttributeAndCondition getAndCondition()
A list of conditions which would be applied together with an AND
condition.
AND
condition.public ControlPlaneUserAttributeFilter withAndCondition(AttributeAndCondition andCondition)
A list of conditions which would be applied together with an AND
condition.
andCondition
- A list of conditions which would be applied together with an AND
condition.public void setTagCondition(TagCondition tagCondition)
tagCondition
- public TagCondition getTagCondition()
public ControlPlaneUserAttributeFilter withTagCondition(TagCondition tagCondition)
tagCondition
- public void setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
hierarchyGroupCondition
- public HierarchyGroupCondition getHierarchyGroupCondition()
public ControlPlaneUserAttributeFilter withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
hierarchyGroupCondition
- public String toString()
toString
in class Object
Object.toString()
public ControlPlaneUserAttributeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.