public void setPolicyRoles(java.util.Collection<PolicyRole> policyRoles) {
        if (policyRoles == null) {
            this.policyRoles = null;
            return;
        }

        this.policyRoles = new com.amazonaws.internal.SdkInternalList<PolicyRole>(policyRoles);
    }
<p>
A list of IAM roles that the policy is attached to.
</p>

@param policyRoles
       A list of IAM roles that the policy is attached to.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ListEntitiesForPolicyResult.java