Interface StartBatchEvaluationRequest.Builder

  • Method Details

    • batchEvaluationName

      StartBatchEvaluationRequest.Builder batchEvaluationName(String batchEvaluationName)

      The name of the batch evaluation. Must be unique within your account.

      Parameters:
      batchEvaluationName - The name of the batch evaluation. Must be unique within your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluators

      The list of evaluators to apply during the batch evaluation. Can include both built-in evaluators and custom evaluators. Maximum of 10 evaluators.

      Parameters:
      evaluators - The list of evaluators to apply during the batch evaluation. Can include both built-in evaluators and custom evaluators. Maximum of 10 evaluators.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluators

      The list of evaluators to apply during the batch evaluation. Can include both built-in evaluators and custom evaluators. Maximum of 10 evaluators.

      Parameters:
      evaluators - The list of evaluators to apply during the batch evaluation. Can include both built-in evaluators and custom evaluators. Maximum of 10 evaluators.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluators

      The list of evaluators to apply during the batch evaluation. Can include both built-in evaluators and custom evaluators. Maximum of 10 evaluators.

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

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

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

      The list of insight analyses to run against sessions during the batch evaluation. Maximum of 10 insights.

      Parameters:
      insights - The list of insight analyses to run against sessions during the batch evaluation. Maximum of 10 insights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      The list of insight analyses to run against sessions during the batch evaluation. Maximum of 10 insights.

      Parameters:
      insights - The list of insight analyses to run against sessions during the batch evaluation. Maximum of 10 insights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      The list of insight analyses to run against sessions during the batch evaluation. Maximum of 10 insights.

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

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

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

      StartBatchEvaluationRequest.Builder dataSourceConfig(DataSourceConfig dataSourceConfig)

      The data source configuration that specifies where to pull agent session traces from for evaluation.

      Parameters:
      dataSourceConfig - The data source configuration that specifies where to pull agent session traces from for evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceConfig

      default StartBatchEvaluationRequest.Builder dataSourceConfig(Consumer<DataSourceConfig.Builder> dataSourceConfig)

      The data source configuration that specifies where to pull agent session traces from for evaluation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSourceConfig(DataSourceConfig).

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

      StartBatchEvaluationRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationMetadata

      StartBatchEvaluationRequest.Builder evaluationMetadata(EvaluationMetadata evaluationMetadata)

      Optional metadata for the evaluation, including session-specific ground truth data and test scenario identifiers.

      Parameters:
      evaluationMetadata - Optional metadata for the evaluation, including session-specific ground truth data and test scenario identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationMetadata

      default StartBatchEvaluationRequest.Builder evaluationMetadata(Consumer<EvaluationMetadata.Builder> evaluationMetadata)

      Optional metadata for the evaluation, including session-specific ground truth data and test scenario identifiers.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluationMetadata(EvaluationMetadata).

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

      A map of tag keys and values to associate with the batch evaluation.

      Parameters:
      tags - A map of tag keys and values to associate with the batch evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyArn

      The ARN of the KMS key used to encrypt evaluation data. If provided, customer data is encrypted at rest with the specified key.

      Parameters:
      kmsKeyArn - The ARN of the KMS key used to encrypt evaluation data. If provided, customer data is encrypted at rest with the specified key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      StartBatchEvaluationRequest.Builder description(String description)

      The description of the batch evaluation.

      Parameters:
      description - The description of the batch evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      StartBatchEvaluationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.