public ExportCertificateResult withPrivateKey(String privateKey) {
        setPrivateKey(privateKey);
        return this;
    }
<p>
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format
and is base64 PEM-encoded.
</p>

@param privateKey
       The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8
       format and is base64 PEM-encoded.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-acm/src/main/java/com/amazonaws/services/certificatemanager/model/ExportCertificateResult.java