public DescribeResourcePoliciesResult withResourcePolicies(java.util.Collection<ResourcePolicy> resourcePolicies) {
        setResourcePolicies(resourcePolicies);
        return this;
    }
<p>
The resource policies that exist in this account.
</p>

@param resourcePolicies
       The resource policies that exist in this account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/DescribeResourcePoliciesResult.java