public TargetInstances withTagFilters(java.util.Collection<EC2TagFilter> tagFilters) {
        setTagFilters(tagFilters);
        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>

@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