public void setHealthCheck(ContainerHealthCheck healthCheck) {
        this.healthCheck = healthCheck;
    }
<p>
A configuration for a non-terminal health check. A container, which automatically restarts if it stops
functioning, also restarts if it fails this health check. If an essential container in the daemon group fails a
health check, the entire container group is restarted. The essential container in the replica group doesn't use
this health check mechanism, because the Amazon GameLift Agent automatically handles the task.
</p>

@param healthCheck
       A configuration for a non-terminal health check. A container, which automatically restarts if it stops
       functioning, also restarts if it fails this health check. If an essential container in the daemon group
       fails a health check, the entire container group is restarted. The essential container in the replica
       group doesn't use this health check mechanism, because the Amazon GameLift Agent automatically handles the
       task.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerDefinition.java