public DataSourceSummary withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The status of the data source. When the status is <code>ACTIVE</code> the data source is ready to use.
</p>

@param status
       The status of the data source. When the status is <code>ACTIVE</code> the data source is ready to use.
@return Returns a reference to this object so that method calls can be chained together.
@see DataSourceStatus
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/DataSourceSummary.java