public CreateEndpointGroupRequest withHealthCheckPort(Integer healthCheckPort) {
        setHealthCheckPort(healthCheckPort);
        return this;
    }
<p>
The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The
default port is the listener port that this endpoint group is associated with. If listener port is a list of
ports, Global Accelerator uses the first port in the list.
</p>

@param healthCheckPort
       The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint
       group. The default port is the listener port that this endpoint group is associated with. If listener port
       is a list of ports, Global Accelerator uses the first port in the list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/CreateEndpointGroupRequest.java