@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttributeAndCondition extends Object implements Serializable, Cloneable, StructuredPojo
A list of conditions which would be applied together with an AND
condition.
Constructor and Description |
---|
AttributeAndCondition() |
Modifier and Type | Method and Description |
---|---|
AttributeAndCondition |
clone() |
boolean |
equals(Object obj) |
HierarchyGroupCondition |
getHierarchyGroupCondition() |
List<TagCondition> |
getTagConditions()
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 |
setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition) |
void |
setTagConditions(Collection<TagCondition> tagConditions)
A leaf node condition which can be used to specify a tag condition.
|
String |
toString()
Returns a string representation of this object.
|
AttributeAndCondition |
withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition) |
AttributeAndCondition |
withTagConditions(Collection<TagCondition> tagConditions)
A leaf node condition which can be used to specify a tag condition.
|
AttributeAndCondition |
withTagConditions(TagCondition... tagConditions)
A leaf node condition which can be used to specify a tag condition.
|
public List<TagCondition> getTagConditions()
A leaf node condition which can be used to specify a tag condition.
public void setTagConditions(Collection<TagCondition> tagConditions)
A leaf node condition which can be used to specify a tag condition.
tagConditions
- A leaf node condition which can be used to specify a tag condition.public AttributeAndCondition withTagConditions(TagCondition... tagConditions)
A leaf node condition which can be used to specify a tag condition.
NOTE: This method appends the values to the existing list (if any). Use
setTagConditions(java.util.Collection)
or withTagConditions(java.util.Collection)
if you want
to override the existing values.
tagConditions
- A leaf node condition which can be used to specify a tag condition.public AttributeAndCondition withTagConditions(Collection<TagCondition> tagConditions)
A leaf node condition which can be used to specify a tag condition.
tagConditions
- A leaf node condition which can be used to specify a tag condition.public void setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
hierarchyGroupCondition
- public HierarchyGroupCondition getHierarchyGroupCondition()
public AttributeAndCondition withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
hierarchyGroupCondition
- public String toString()
toString
in class Object
Object.toString()
public AttributeAndCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.