public void setCode(String code) {
        this.code = code;
    }
<p>
The status code for the automated DNS record creation.
</p>
<p>
Following are the possible values:
</p>
<ul>
<li>
<p>
<code>SUCCEEDED</code> - The validation records were successfully added.
</p>
</li>
<li>
<p>
<code>STARTED</code> - The automatic DNS record creation has started.
</p>
</li>
<li>
<p>
<code>FAILED</code> - The validation record addition failed.
</p>
</li>
</ul>

@param code
       The status code for the automated DNS record creation.</p>
       <p>
       Following are the possible values:
       </p>
       <ul>
       <li>
       <p>
       <code>SUCCEEDED</code> - The validation records were successfully added.
       </p>
       </li>
       <li>
       <p>
       <code>STARTED</code> - The automatic DNS record creation has started.
       </p>
       </li>
       <li>
       <p>
       <code>FAILED</code> - The validation record addition failed.
       </p>
       </li>
@see LoadBalancerTlsCertificateDnsRecordCreationStateCode
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancerTlsCertificateDnsRecordCreationState.java