title: Disable spring boot actuator endpoints java config
body: <p>I woud like to disable all actuator endpoints except for the health endpoint. All docs describe how to achieve this in the resource properties:</p>
  
  <pre><code>endpoints.enabled=false
  endpoints.health.enabled=true
  </code></pre>
  
  <p>but I have always preferred to use inline java configuration. Could someone please explain where in the application I can configure the same?</p>