In 995e4eda08be99f72ef56052b3f78ceef9100885 we changed the cluster health Java API. We need to also change the documentation. Backport of #19093 in master branch
Closes #10818.