@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlPlaneAttributeFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an
OR
or 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.
Constructor and Description |
---|
ControlPlaneAttributeFilter() |
Modifier and Type | Method and Description |
---|---|
ControlPlaneAttributeFilter |
clone() |
boolean |
equals(Object obj) |
CommonAttributeAndCondition |
getAndCondition()
A list of conditions which would be applied together with an
AND condition. |
List<CommonAttributeAndCondition> |
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(CommonAttributeAndCondition andCondition)
A list of conditions which would be applied together with an
AND condition. |
void |
setOrConditions(Collection<CommonAttributeAndCondition> 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.
|
ControlPlaneAttributeFilter |
withAndCondition(CommonAttributeAndCondition andCondition)
A list of conditions which would be applied together with an
AND condition. |
ControlPlaneAttributeFilter |
withOrConditions(Collection<CommonAttributeAndCondition> orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneAttributeFilter |
withOrConditions(CommonAttributeAndCondition... orConditions)
A list of conditions which would be applied together with an
OR condition. |
ControlPlaneAttributeFilter |
withTagCondition(TagCondition tagCondition) |
public List<CommonAttributeAndCondition> getOrConditions()
A list of conditions which would be applied together with an OR
condition.
OR
condition.public void setOrConditions(Collection<CommonAttributeAndCondition> 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 ControlPlaneAttributeFilter withOrConditions(CommonAttributeAndCondition... 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 ControlPlaneAttributeFilter withOrConditions(Collection<CommonAttributeAndCondition> 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(CommonAttributeAndCondition 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 CommonAttributeAndCondition getAndCondition()
A list of conditions which would be applied together with an AND
condition.
AND
condition.public ControlPlaneAttributeFilter withAndCondition(CommonAttributeAndCondition 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 ControlPlaneAttributeFilter withTagCondition(TagCondition tagCondition)
tagCondition
- public String toString()
toString
in class Object
Object.toString()
public ControlPlaneAttributeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.