public DescribeRegionsRequest withFilters(java.util.Collection<Filter> filters) {
        setFilters(filters);
        return this;
    }
<p>
The filters.
</p>
<ul>
<li>
<p>
<code>endpoint</code> - The endpoint of the Region (for example, <code>ec2.us-east-1.amazonaws.com</code>).
</p>
</li>
<li>
<p>
<code>opt-in-status</code> - The opt-in status of the Region (<code>opt-in-not-required</code> |
<code>opted-in</code> | <code>not-opted-in</code>).
</p>
</li>
<li>
<p>
<code>region-name</code> - The name of the Region (for example, <code>us-east-1</code>).
</p>
</li>
</ul>

@param filters
       The filters.</p>
       <ul>
       <li>
       <p>
       <code>endpoint</code> - The endpoint of the Region (for example, <code>ec2.us-east-1.amazonaws.com</code>
       ).
       </p>
       </li>
       <li>
       <p>
       <code>opt-in-status</code> - The opt-in status of the Region (<code>opt-in-not-required</code> |
       <code>opted-in</code> | <code>not-opted-in</code>).
       </p>
       </li>
       <li>
       <p>
       <code>region-name</code> - The name of the Region (for example, <code>us-east-1</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/DescribeRegionsRequest.java