public DescribeStoreImageTasksRequest withFilters(java.util.Collection<Filter> filters) {
        setFilters(filters);
        return this;
    }
<p>
The filters.
</p>
<ul>
<li>
<p>
<code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> | <code>Completed</code> |
<code>Failed</code>)
</p>
</li>
<li>
<p>
<code>bucket</code> - Returns task information for tasks that targeted a specific bucket. For the filter value,
specify the bucket name.
</p>
</li>
</ul>
<note>
<p>
When you specify the <code>ImageIds</code> parameter, any filters that you specify are ignored. To use the
filters, you must remove the <code>ImageIds</code> parameter.
</p>
</note>

@param filters
       The filters.</p>
       <ul>
       <li>
       <p>
       <code>task-state</code> - Returns tasks in a certain state (<code>InProgress</code> |
       <code>Completed</code> | <code>Failed</code>)
       </p>
       </li>
       <li>
       <p>
       <code>bucket</code> - Returns task information for tasks that targeted a specific bucket. For the filter
       value, specify the bucket name.
       </p>
       </li>
       </ul>
       <note>
       <p>
       When you specify the <code>ImageIds</code> parameter, any filters that you specify are ignored. To use the
       filters, you must remove the <code>ImageIds</code> parameter.
       </p>
@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/DescribeStoreImageTasksRequest.java