public GetResourcePoliciesResult withPolicies(java.util.Collection<GetResourcePoliciesResponseEntry> policies) {
        setPolicies(policies);
        return this;
    }
<p>
An array of the <code>Policy</code> object.
</p>

@param policies
       An array of the <code>Policy</code> object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/GetResourcePoliciesResult.java