Interface GroundTruthConfig.Builder

  • Method Details

    • fieldsWithStrings

      GroundTruthConfig.Builder fieldsWithStrings(Collection<String> fields)

      The reference fields to copy. Values are copied from the session as observed, not generated.

      Parameters:
      fields - The reference fields to copy. Values are copied from the session as observed, not generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldsWithStrings

      GroundTruthConfig.Builder fieldsWithStrings(String... fields)

      The reference fields to copy. Values are copied from the session as observed, not generated.

      Parameters:
      fields - The reference fields to copy. Values are copied from the session as observed, not generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      The reference fields to copy. Values are copied from the session as observed, not generated.

      Parameters:
      fields - The reference fields to copy. Values are copied from the session as observed, not generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fields

      The reference fields to copy. Values are copied from the session as observed, not generated.

      Parameters:
      fields - The reference fields to copy. Values are copied from the session as observed, not generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualityFilters

      GroundTruthConfig.Builder qualityFilters(Collection<EvaluatorFilter> qualityFilters)

      Evaluator conditions that a selected session must also meet to have reference fields copied. If you don't specify these, the generation uses the evaluator filters from selection. If the selection names sessions and traces by ID, every selected session gets reference fields. Specify an empty list to give every selected session reference fields. You can't specify quality filters with a cloudWatchLogs source.

      Parameters:
      qualityFilters - Evaluator conditions that a selected session must also meet to have reference fields copied. If you don't specify these, the generation uses the evaluator filters from selection. If the selection names sessions and traces by ID, every selected session gets reference fields. Specify an empty list to give every selected session reference fields. You can't specify quality filters with a cloudWatchLogs source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualityFilters

      GroundTruthConfig.Builder qualityFilters(EvaluatorFilter... qualityFilters)

      Evaluator conditions that a selected session must also meet to have reference fields copied. If you don't specify these, the generation uses the evaluator filters from selection. If the selection names sessions and traces by ID, every selected session gets reference fields. Specify an empty list to give every selected session reference fields. You can't specify quality filters with a cloudWatchLogs source.

      Parameters:
      qualityFilters - Evaluator conditions that a selected session must also meet to have reference fields copied. If you don't specify these, the generation uses the evaluator filters from selection. If the selection names sessions and traces by ID, every selected session gets reference fields. Specify an empty list to give every selected session reference fields. You can't specify quality filters with a cloudWatchLogs source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualityFilters

      GroundTruthConfig.Builder qualityFilters(Consumer<EvaluatorFilter.Builder>... qualityFilters)

      Evaluator conditions that a selected session must also meet to have reference fields copied. If you don't specify these, the generation uses the evaluator filters from selection. If the selection names sessions and traces by ID, every selected session gets reference fields. Specify an empty list to give every selected session reference fields. You can't specify quality filters with a cloudWatchLogs source.

      This is a convenience method that creates an instance of the EvaluatorFilter.Builder avoiding the need to create one manually via EvaluatorFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to qualityFilters(List<EvaluatorFilter>).

      Parameters:
      qualityFilters - a consumer that will call methods on EvaluatorFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: