public DataSourceSyncJobMetrics withDocumentsScanned(String documentsScanned) {
        setDocumentsScanned(documentsScanned);
        return this;
    }
<p>
The current count of documents crawled by the ongoing sync job in the data source.
</p>

@param documentsScanned
       The current count of documents crawled by the ongoing sync job in the data source.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/DataSourceSyncJobMetrics.java