public ListRegionsResult withRegions(java.util.Collection<Region> regions) {
        setRegions(regions);
        return this;
    }
<p>
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that
match the filter criteria set in the <code>filter</code> parameter.
</p>

@param regions
       This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions
       that match the filter criteria set in the <code>filter</code> parameter.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-account/src/main/java/com/amazonaws/services/account/model/ListRegionsResult.java