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

@param certificate
       <li>
       <p>
       For the CLI, provide a file path for a certificate in URI format. For example,
       <code>--certificate file://encryption-cert.pem</code>. Alternatively, you can provide the raw content.
       </p>
       </li> <li>
       <p>
       For the SDK, specify the raw content of a certificate file. For example,
       <code>--certificate "`cat encryption-cert.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