public CreateDomainNameRequest withCertificateArn(String certificateArn) {
        setCertificateArn(certificateArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an
Identity and Access Management (IAM) server certificate.
</p>

@param certificateArn
       The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or
       an Identity and Access Management (IAM) server certificate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/CreateDomainNameRequest.java