public ContainerServiceEndpoint withHealthCheck(ContainerServiceHealthCheckConfig healthCheck) {
        setHealthCheck(healthCheck);
        return this;
    }
<p>
An object that describes the health check configuration of the container.
</p>

@param healthCheck
       An object that describes the health check configuration of the container.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/ContainerServiceEndpoint.java