public void setPolicies(java.util.Collection<String> policies) {
        if (policies == null) {
            this.policies = null;
            return;
        }

        this.policies = new java.util.ArrayList<String>(policies);
    }
<p>
An array of resource policy documents in JSON format.
</p>

@param policies
       An array of resource policy documents in JSON format.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/GetResourcePoliciesResult.java