Interface DataSourceSyncJobMetrics.Builder

    • Method Detail

      • documentsAdded

        DataSourceSyncJobMetrics.Builder documentsAdded​(String documentsAdded)

        The number of documents added from the data source up to now in the data source sync.

        Parameters:
        documentsAdded - The number of documents added from the data source up to now in the data source sync.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentsModified

        DataSourceSyncJobMetrics.Builder documentsModified​(String documentsModified)

        The number of documents modified in the data source up to now in the data source sync run.

        Parameters:
        documentsModified - The number of documents modified in the data source up to now in the data source sync run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentsDeleted

        DataSourceSyncJobMetrics.Builder documentsDeleted​(String documentsDeleted)

        The number of documents deleted from the data source up to now in the data source sync run.

        Parameters:
        documentsDeleted - The number of documents deleted from the data source up to now in the data source sync run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentsFailed

        DataSourceSyncJobMetrics.Builder documentsFailed​(String documentsFailed)

        The number of documents that failed to sync from the data source up to now in the data source sync run.

        Parameters:
        documentsFailed - The number of documents that failed to sync from the data source up to now in the data source sync run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentsScanned

        DataSourceSyncJobMetrics.Builder documentsScanned​(String documentsScanned)

        The current number of documents crawled by the current sync job in the data source.

        Parameters:
        documentsScanned - The current number of documents crawled by the current sync job in the data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.