public ImportCertificateRequest withPrivateKey(String privateKey) {
        setPrivateKey(privateKey);
        return this;
    }
<ul>
<li>
<p>
For the CLI, provide a file path for a private key in URI format.For example,
<code>--private-key file://encryption-key.pem</code>. Alternatively, you can provide the raw content of the
private key file.
</p>
</li>
<li>
<p>
For the SDK, specify the raw content of a private key file. For example,
<code>--private-key "`cat encryption-key.pem`"</code>
</p>
</li>
</ul>

@param privateKey
       <li>
       <p>
       For the CLI, provide a file path for a private key in URI format.For example,
       <code>--private-key file://encryption-key.pem</code>. Alternatively, you can provide the raw content of
       the private key file.
       </p>
       </li> <li>
       <p>
       For the SDK, specify the raw content of a private key file. For example,
       <code>--private-key "`cat encryption-key.pem`"</code>
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ImportCertificateRequest.java