public ViewerCertificate withCloudFrontDefaultCertificate(Boolean cloudFrontDefaultCertificate) {
        setCloudFrontDefaultCertificate(cloudFrontDefaultCertificate);
        return this;
    }
<p>
If the distribution uses the CloudFront domain name such as <code>d111111abcdef8.cloudfront.net</code>, set this
field to <code>true</code>.
</p>
<p>
If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs), set this field to
<code>false</code> and specify values for the following fields:
</p>
<ul>
<li>
<p>
<code>ACMCertificateArn</code> or <code>IAMCertificateId</code> (specify a value for one, not both)
</p>
</li>
<li>
<p>
<code>MinimumProtocolVersion</code>
</p>
</li>
<li>
<p>
<code>SSLSupportMethod</code>
</p>
</li>
</ul>

@param cloudFrontDefaultCertificate
       If the distribution uses the CloudFront domain name such as <code>d111111abcdef8.cloudfront.net</code>,
       set this field to <code>true</code>.</p>
       <p>
       If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs), set this field to
       <code>false</code> and specify values for the following fields:
       </p>
       <ul>
       <li>
       <p>
       <code>ACMCertificateArn</code> or <code>IAMCertificateId</code> (specify a value for one, not both)
       </p>
       </li>
       <li>
       <p>
       <code>MinimumProtocolVersion</code>
       </p>
       </li>
       <li>
       <p>
       <code>SSLSupportMethod</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