@Deprecated
    public ViewerCertificate withCertificate(String certificate) {
        setCertificate(certificate);
        return this;
    }
<p>
This field is deprecated. Use one of the following fields instead:
</p>
<ul>
<li>
<p>
<code>ACMCertificateArn</code>
</p>
</li>
<li>
<p>
<code>IAMCertificateId</code>
</p>
</li>
<li>
<p>
<code>CloudFrontDefaultCertificate</code>
</p>
</li>
</ul>

@param certificate
       This field is deprecated. Use one of the following fields instead:</p>
       <ul>
       <li>
       <p>
       <code>ACMCertificateArn</code>
       </p>
       </li>
       <li>
       <p>
       <code>IAMCertificateId</code>
       </p>
       </li>
       <li>
       <p>
       <code>CloudFrontDefaultCertificate</code>
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/ViewerCertificate.java