public DocumentDetails withStatus(DocumentStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The current status of the document.
</p>

@param status
       The current status of the document.
@return Returns a reference to this object so that method calls can be chained together.
@see DocumentStatus
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/DocumentDetails.java