Update the custom HealthIndicator documentation to use the build() method rather than the old mechanism. Fixes gh-2270