public BackupSelection withListOfTags(Condition... listOfTags) {
        if (this.listOfTags == null) {
            setListOfTags(new java.util.ArrayList<Condition>(listOfTags.length));
        }
        for (Condition ele : listOfTags) {
            this.listOfTags.add(ele);
        }
        return this;
    }
<p>
A list of conditions that you define to assign resources to your backup plans using tags. For example,
<code>"StringEquals": { "Key": "aws:ResourceTag/CreatedByCryo", "Value": "true" },</code>. Condition operators
are case sensitive.
</p>
<p>
<code>ListOfTags</code> differs from <code>Conditions</code> as follows:
</p>
<ul>
<li>
<p>
When you specify more than one condition, you assign all resources that match AT LEAST ONE condition (using OR
logic).
</p>
</li>
<li>
<p>
<code>ListOfTags</code> only supports <code>StringEquals</code>. <code>Conditions</code> supports
<code>StringEquals</code>, <code>StringLike</code>, <code>StringNotEquals</code>, and <code>StringNotLike</code>.
</p>
</li>
</ul>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setListOfTags(java.util.Collection)} or {@link #withListOfTags(java.util.Collection)} if you want to
override the existing values.
</p>

@param listOfTags
       A list of conditions that you define to assign resources to your backup plans using tags. For example,
       <code>"StringEquals": { "Key": "aws:ResourceTag/CreatedByCryo", "Value": "true" },</code>. Condition
       operators are case sensitive.</p>
       <p>
       <code>ListOfTags</code> differs from <code>Conditions</code> as follows:
       </p>
       <ul>
       <li>
       <p>
       When you specify more than one condition, you assign all resources that match AT LEAST ONE condition
       (using OR logic).
       </p>
       </li>
       <li>
       <p>
       <code>ListOfTags</code> only supports <code>StringEquals</code>. <code>Conditions</code> supports
       <code>StringEquals</code>, <code>StringLike</code>, <code>StringNotEquals</code>, and
       <code>StringNotLike</code>.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/BackupSelection.java