public String getCode() {
        return this.code;
    }
<p>
The status code for the deletion state.
</p>
<p>
Following are the possible values:
</p>
<ul>
<li>
<p>
<code>SUCCEEDED</code> - The hosted zone was successfully deleted.
</p>
</li>
<li>
<p>
<code>PENDING</code> - The hosted zone deletion is in progress.
</p>
</li>
<li>
<p>
<code>FAILED</code> - The hosted zone deletion failed.
</p>
</li>
<li>
<p>
<code>STARTED</code> - The hosted zone deletion started.
</p>
</li>
</ul>

@return The status code for the deletion state.</p>
        <p>
        Following are the possible values:
        </p>
        <ul>
        <li>
        <p>
        <code>SUCCEEDED</code> - The hosted zone was successfully deleted.
        </p>
        </li>
        <li>
        <p>
        <code>PENDING</code> - The hosted zone deletion is in progress.
        </p>
        </li>
        <li>
        <p>
        <code>FAILED</code> - The hosted zone deletion failed.
        </p>
        </li>
        <li>
        <p>
        <code>STARTED</code> - The hosted zone deletion started.
        </p>
        </li>
@see R53HostedZoneDeletionStateCode
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/R53HostedZoneDeletionState.java