public CreateServiceRequest withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig) {
        setHealthCheckCustomConfig(healthCheckCustomConfig);
        return this;
    }
<p>
A complex type that contains information about an optional custom health check.
</p>
<important>
<p>
If you specify a health check configuration, you can specify either <code>HealthCheckCustomConfig</code> or
<code>HealthCheckConfig</code> but not both.
</p>
</important>
<p>
You can't add, update, or delete a <code>HealthCheckCustomConfig</code> configuration from an existing service.
</p>

@param healthCheckCustomConfig
       A complex type that contains information about an optional custom health check.</p> <important>
       <p>
       If you specify a health check configuration, you can specify either <code>HealthCheckCustomConfig</code>
       or <code>HealthCheckConfig</code> but not both.
       </p>
       </important>
       <p>
       You can't add, update, or delete a <code>HealthCheckCustomConfig</code> configuration from an existing
       service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/CreateServiceRequest.java