public LegalHold withStatus(LegalHoldStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
This is the status of the legal hold. Statuses can be <code>ACTIVE</code>, <code>CREATING</code>,
<code>CANCELED</code>, and <code>CANCELING</code>.
</p>

@param status
       This is the status of the legal hold. Statuses can be <code>ACTIVE</code>, <code>CREATING</code>,
       <code>CANCELED</code>, and <code>CANCELING</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see LegalHoldStatus
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/LegalHold.java