public CreateDomainNameRequest withCertificateArn(String certificateArn) {
        setCertificateArn(certificateArn);
        return this;
    }
<p>
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for this
domain name. Certificate Manager is the only supported source.
</p>

@param certificateArn
       The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint
       for this domain name. Certificate Manager is the only supported source.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/CreateDomainNameRequest.java