public TargetInstances withTagFilters(EC2TagFilter... tagFilters) {
        if (this.tagFilters == null) {
            setTagFilters(new com.amazonaws.internal.SdkInternalList<EC2TagFilter>(tagFilters.length));
        }
        for (EC2TagFilter ele : tagFilters) {
            this.tagFilters.add(ele);
        }
        return this;
    }
<p>
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a
blue/green deployment. Cannot be used in the same call as <code>ec2TagSet</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTagFilters(java.util.Collection)} or {@link #withTagFilters(java.util.Collection)} if you want to
override the existing values.
</p>

@param tagFilters
       The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for
       a blue/green deployment. Cannot be used in the same call as <code>ec2TagSet</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/TargetInstances.java