public GetResourcePoliciesResult withPolicies(java.util.Collection<String> policies) {
        setPolicies(policies);
        return this;
    }
<p>
An array of resource policy documents in JSON format.
</p>

@param policies
       An array of resource policy documents in JSON format.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/GetResourcePoliciesResult.java