public ContainerHealthCheck getHealthCheck() {
        return this.healthCheck;
    }
<p>
Configuration for a non-terminal health check. A container automatically restarts if it stops functioning. This
parameter lets you define additional reasons to consider a container unhealthy and restart it. You can set a
health check for any container except for the essential container in the replica container group. If an essential
container in the daemon group fails a health check, the entire container group is restarted.
</p>

@return Configuration for a non-terminal health check. A container automatically restarts if it stops
        functioning. This parameter lets you define additional reasons to consider a container unhealthy and
        restart it. You can set a health check for any container except for the essential container in the
        replica container group. If an essential container in the daemon group fails a health check, the entire
        container group is restarted.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerDefinitionInput.java