public DescribeIamInstanceProfileAssociationsRequest withFilters(Filter... filters) {
        if (this.filters == null) {
            setFilters(new com.amazonaws.internal.SdkInternalList<Filter>(filters.length));
        }
        for (Filter ele : filters) {
            this.filters.add(ele);
        }
        return this;
    }
<p>
The filters.
</p>
<ul>
<li>
<p>
<code>instance-id</code> - The ID of the instance.
</p>
</li>
<li>
<p>
<code>state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
<code>disassociating</code>).
</p>
</li>
</ul>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFilters(java.util.Collection)} or {@link #withFilters(java.util.Collection)} if you want to override
the existing values.
</p>

@param filters
       The filters.</p>
       <ul>
       <li>
       <p>
       <code>instance-id</code> - The ID of the instance.
       </p>
       </li>
       <li>
       <p>
       <code>state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
       <code>disassociating</code>).
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeIamInstanceProfileAssociationsRequest.java