public void setFilters(java.util.Collection<ResourceFilter> filters) {
        if (filters == null) {
            this.filters = null;
            return;
        }

        this.filters = new java.util.ArrayList<ResourceFilter>(filters);
    }
public void setFilters ( java . util . Collection < ResourceFilter > filters ) { if ( filters == null ) { this . filters = null ; return ; } this . filters = new java . util . ArrayList < ResourceFilter > ( filters ) ; }
<p>
Filters, formatted as ResourceFilter objects, that you want to apply to a ListGroupResources operation.
</p>
<ul>
<li>
<p>
<code>resource-type</code> - Filter resources by their type. Specify up to five resource types in the format
AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
</p>
</li>
</ul>

@param filters
Filters, formatted as ResourceFilter objects, that you want to apply to a ListGroupResources
operation.</p>
<ul>
<li>
<p>
<code>resource-type</code> - Filter resources by their type. Specify up to five resource types in the
format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.
</p>
</li>