public String getHealthStatus() {
        return this.healthStatus;
    }
<p>
The health status for the task. It's determined by the health of the essential containers in the task. If all
essential containers in the task are reporting as <code>HEALTHY</code>, the task status also reports as
<code>HEALTHY</code>. If any essential containers in the task are reporting as <code>UNHEALTHY</code> or
<code>UNKNOWN</code>, the task status also reports as <code>UNHEALTHY</code> or <code>UNKNOWN</code>.
</p>
<note>
<p>
The Amazon ECS container agent doesn't monitor or report on Docker health checks that are embedded in a container
image and not specified in the container definition. For example, this includes those specified in a parent image
or from the image's Dockerfile. Health check parameters that are specified in a container definition override any
Docker health checks that are found in the container image.
</p>
</note>

@return The health status for the task. It's determined by the health of the essential containers in the task. If
        all essential containers in the task are reporting as <code>HEALTHY</code>, the task status also reports
        as <code>HEALTHY</code>. If any essential containers in the task are reporting as <code>UNHEALTHY</code>
        or <code>UNKNOWN</code>, the task status also reports as <code>UNHEALTHY</code> or <code>UNKNOWN</code>
        .</p> <note>
        <p>
        The Amazon ECS container agent doesn't monitor or report on Docker health checks that are embedded in a
        container image and not specified in the container definition. For example, this includes those specified
        in a parent image or from the image's Dockerfile. Health check parameters that are specified in a
        container definition override any Docker health checks that are found in the container image.
        </p>
@see HealthStatus
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Task.java