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

        this.policies = new com.amazonaws.internal.SdkInternalList<GetResourcePoliciesResponseEntry>(policies);
    }
<p>
An array of the <code>Policy</code> object.
</p>

@param policies
       An array of the <code>Policy</code> object.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/GetResourcePoliciesResult.java