public void setResourcePolicies(java.util.Collection<ResourcePolicy> resourcePolicies) {
        if (resourcePolicies == null) {
            this.resourcePolicies = null;
            return;
        }

        this.resourcePolicies = new com.amazonaws.internal.SdkInternalList<ResourcePolicy>(resourcePolicies);
    }
<p>
The resource policies that exist in this account.
</p>

@param resourcePolicies
       The resource policies that exist in this account.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/DescribeResourcePoliciesResult.java