public UpdateDocumentRequest withResourceState(String resourceState) {
        setResourceState(resourceState);
        return this;
    }
<p>
The resource state of the document. Only ACTIVE and RECYCLED are supported.
</p>

@param resourceState
       The resource state of the document. Only ACTIVE and RECYCLED are supported.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceStateType
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/UpdateDocumentRequest.java