Interface DataSourceSyncJobMetricTarget.Builder

    • Method Detail

      • dataSourceId

        DataSourceSyncJobMetricTarget.Builder dataSourceId​(String dataSourceId)

        The ID of the data source that is running the sync job.

        Parameters:
        dataSourceId - The ID of the data source that is running the sync job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourceSyncJobId

        DataSourceSyncJobMetricTarget.Builder dataSourceSyncJobId​(String dataSourceSyncJobId)

        The ID of the sync job that is running on the data source.

        If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.

        If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.

        Parameters:
        dataSourceSyncJobId - The ID of the sync job that is running on the data source.

        If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.

        If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.

        Returns:
        Returns a reference to this object so that method calls can be chained together.