public DataSourceSyncJob withMetrics(DataSourceSyncJobMetrics metrics) {
        setMetrics(metrics);
        return this;
    }
<p>
Maps a batch delete document request to a specific data source sync job. This is optional and should only be
supplied when documents are deleted by a data source connector.
</p>

@param metrics
       Maps a batch delete document request to a specific data source sync job. This is optional and should only
       be supplied when documents are deleted by a data source connector.
@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/DataSourceSyncJob.java