public CreateLoadBalancerRequest withCertificateDomainName(String certificateDomainName) {
        setCertificateDomainName(certificateDomainName);
        return this;
    }
<p>
The domain name with which your certificate is associated (<code>example.com</code>).
</p>
<p>
If you specify <code>certificateDomainName</code>, then <code>certificateName</code> is required (and
vice-versa).
</p>

@param certificateDomainName
       The domain name with which your certificate is associated (<code>example.com</code>).</p>
       <p>
       If you specify <code>certificateDomainName</code>, then <code>certificateName</code> is required (and
       vice-versa).
@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/CreateLoadBalancerRequest.java