public DataSourceSyncJob withDataSourceErrorCode(String dataSourceErrorCode) {
        setDataSourceErrorCode(dataSourceErrorCode);
        return this;
    }
<p>
If the reason that the synchronization failed is due to an error with the underlying data source, this field
contains a code that identifies the error.
</p>

@param dataSourceErrorCode
       If the reason that the synchronization failed is due to an error with the underlying data source, this
       field contains a code that identifies the error.
@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