public CommonAttributeAndCondition withTagConditions(TagCondition... tagConditions) {
        if (this.tagConditions == null) {
            setTagConditions(new java.util.ArrayList<TagCondition>(tagConditions.length));
        }
        for (TagCondition ele : tagConditions) {
            this.tagConditions.add(ele);
        }
        return this;
    }
<p>
A leaf node condition which can be used to specify a tag condition.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTagConditions(java.util.Collection)} or {@link #withTagConditions(java.util.Collection)} if you want
to override the existing values.
</p>

@param tagConditions
       A leaf node condition which can be used to specify a tag condition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CommonAttributeAndCondition.java