@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that can be used to specify Tag conditions.
Constructor and Description |
---|
TagFilter() |
Modifier and Type | Method and Description |
---|---|
TagFilter |
clone() |
boolean |
equals(Object obj) |
List<TagCondition> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
List<OrCondition> |
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setOrConditions(Collection<OrCondition> 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.
|
TagFilter |
withAndConditions(Collection<TagCondition> andConditions)
A list of conditions which would be applied together with an
AND condition. |
TagFilter |
withAndConditions(TagCondition... andConditions)
A list of conditions which would be applied together with an
AND condition. |
TagFilter |
withOrConditions(Collection<OrCondition> orConditions)
A list of conditions which would be applied together with an
OR condition. |
TagFilter |
withOrConditions(OrCondition... orConditions)
A list of conditions which would be applied together with an
OR condition. |
TagFilter |
withTagCondition(TagCondition tagCondition)
A leaf node condition which can be used to specify a tag 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 TagFilter 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 TagFilter 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 List<OrCondition> getOrConditions()
A list of conditions which would be applied together with an OR
condition.
OR
condition.public void setOrConditions(Collection<OrCondition> 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 TagFilter withOrConditions(OrCondition... 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 TagFilter withOrConditions(Collection<OrCondition> 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 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 TagFilter 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.