public String getCode() {
        return this.code;
    }
<p>
The status code for the name servers update.
</p>
<p>
Following are the possible values:
</p>
<ul>
<li>
<p>
<code>SUCCEEDED</code> - The name server records were successfully updated.
</p>
</li>
<li>
<p>
<code>PENDING</code> - The name server record update is in progress.
</p>
</li>
<li>
<p>
<code>FAILED</code> - The name server record update failed.
</p>
</li>
<li>
<p>
<code>STARTED</code> - The automatic name server record update started.
</p>
</li>
</ul>

@return The status code for the name servers update.</p>
        <p>
        Following are the possible values:
        </p>
        <ul>
        <li>
        <p>
        <code>SUCCEEDED</code> - The name server records were successfully updated.
        </p>
        </li>
        <li>
        <p>
        <code>PENDING</code> - The name server record update is in progress.
        </p>
        </li>
        <li>
        <p>
        <code>FAILED</code> - The name server record update failed.
        </p>
        </li>
        <li>
        <p>
        <code>STARTED</code> - The automatic name server record update started.
        </p>
        </li>
@see NameServersUpdateStateCode
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/NameServersUpdateState.java