public UrlEndpointSummary withHealthUrl(String healthUrl) {
        setHealthUrl(healthUrl);
        return this;
    }
<p>
The health check URL of the URL endpoint type. If the URL is a public endpoint, the <code>HealthUrl</code> must
also be a public endpoint. If the URL is a private endpoint inside a virtual private cloud (VPC), the health URL
must also be a private endpoint, and the host must be the same as the URL.
</p>

@param healthUrl
       The health check URL of the URL endpoint type. If the URL is a public endpoint, the <code>HealthUrl</code>
       must also be a public endpoint. If the URL is a private endpoint inside a virtual private cloud (VPC), the
       health URL must also be a private endpoint, and the host must be the same as the URL.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhubrefactorspaces/src/main/java/com/amazonaws/services/migrationhubrefactorspaces/model/UrlEndpointSummary.java