public CreateDomainNameRequest withCertificatePrivateKey(String certificatePrivateKey) {
        setCertificatePrivateKey(certificatePrivateKey);
        return this;
    }
<p>
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
</p>

@param certificatePrivateKey
       [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
@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