public DatasetProperties withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The dataset status. While the system creates the dataset, the status is <code>CREATING</code>. When the dataset
is ready to use, the status changes to <code>COMPLETED</code>.
</p>

@param status
       The dataset status. While the system creates the dataset, the status is <code>CREATING</code>. When the
       dataset is ready to use, the status changes to <code>COMPLETED</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see DatasetStatus
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DatasetProperties.java