code: public ListGroupResourcesRequest withFilters(ResourceFilter... filters) {
          if (this.filters == null) {
              setFilters(new java.util.ArrayList<ResourceFilter>(filters.length));
          }
          for (ResourceFilter ele : filters) {
              this.filters.add(ele);
          }
          return this;
      }
docs: <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>
  <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
  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>
  @return Returns a reference to this object so that method calls can be chained together.