Interface GetBatchEvaluationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<GetBatchEvaluationResponse.Builder,,GetBatchEvaluationResponse> SdkBuilder<GetBatchEvaluationResponse.Builder,,GetBatchEvaluationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBatchEvaluationResponse
-
Method Summary
Modifier and TypeMethodDescriptionbatchEvaluationArn(String batchEvaluationArn) The Amazon Resource Name (ARN) of the batch evaluation.batchEvaluationId(String batchEvaluationId) The unique identifier of the batch evaluation.batchEvaluationName(String batchEvaluationName) The name of the batch evaluation.The timestamp when the batch evaluation was created.dataSourceConfig(Consumer<DataSourceConfig.Builder> dataSourceConfig) The data source configuration specifying where agent traces are pulled from.dataSourceConfig(DataSourceConfig dataSourceConfig) The data source configuration specifying where agent traces are pulled from.description(String description) The description of the batch evaluation.errorDetails(String... errorDetails) The error details if the batch evaluation encountered failures.errorDetails(Collection<String> errorDetails) The error details if the batch evaluation encountered failures.evaluationResults(Consumer<EvaluationJobResults.Builder> evaluationResults) The aggregated evaluation results, including session completion counts and evaluator score summaries.evaluationResults(EvaluationJobResults evaluationResults) The aggregated evaluation results, including session completion counts and evaluator score summaries.evaluators(Collection<Evaluator> evaluators) The list of evaluators applied during the batch evaluation.evaluators(Consumer<Evaluator.Builder>... evaluators) The list of evaluators applied during the batch evaluation.evaluators(Evaluator... evaluators) The list of evaluators applied during the batch evaluation.executionSummaryResult(Consumer<ExecutionSummaryClusteringResultContent.Builder> executionSummaryResult) The execution summary clustering results from insights, containing grouped execution patterns across evaluated sessions.executionSummaryResult(ExecutionSummaryClusteringResultContent executionSummaryResult) The execution summary clustering results from insights, containing grouped execution patterns across evaluated sessions.failureAnalysisResult(Consumer<FailureAnalysisResultContent.Builder> failureAnalysisResult) The failure analysis results from insights, containing categorized failure clusters with root causes and recommendations.failureAnalysisResult(FailureAnalysisResultContent failureAnalysisResult) The failure analysis results from insights, containing categorized failure clusters with root causes and recommendations.insights(Collection<Insight> insights) The list of insight analyses applied during the batch evaluation.insights(Consumer<Insight.Builder>... insights) The list of insight analyses applied during the batch evaluation.The list of insight analyses applied during the batch evaluation.The ARN of the KMS key used to encrypt evaluation data.outputConfig(Consumer<OutputConfig.Builder> outputConfig) The output configuration specifying where evaluation results are written.outputConfig(OutputConfig outputConfig) The output configuration specifying where evaluation results are written.The current status of the batch evaluation.status(BatchEvaluationStatus status) The current status of the batch evaluation.The timestamp when the batch evaluation was last updated.userIntentResult(Consumer<UserIntentClusteringResultContent.Builder> userIntentResult) The user intent clustering results from insights, containing grouped user intents across evaluated sessions.userIntentResult(UserIntentClusteringResultContent userIntentResult) The user intent clustering results from insights, containing grouped user intents across evaluated sessions.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
batchEvaluationId
The unique identifier of the batch evaluation.
- Parameters:
batchEvaluationId- The unique identifier of the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchEvaluationArn
The Amazon Resource Name (ARN) of the batch evaluation.
- Parameters:
batchEvaluationArn- The Amazon Resource Name (ARN) of the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchEvaluationName
The name of the batch evaluation.
- Parameters:
batchEvaluationName- The name of the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the batch evaluation.
- Parameters:
status- The current status of the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the batch evaluation.
- Parameters:
status- The current status of the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the batch evaluation was created.
- Parameters:
createdAt- The timestamp when the batch evaluation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluators
The list of evaluators applied during the batch evaluation.
- Parameters:
evaluators- The list of evaluators applied during the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluators
The list of evaluators applied during the batch evaluation.
- Parameters:
evaluators- The list of evaluators applied during the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluators
The list of evaluators applied during the batch evaluation.
This is a convenience method that creates an instance of theEvaluator.Builderavoiding the need to create one manually viaEvaluator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluators(List<Evaluator>).- Parameters:
evaluators- a consumer that will call methods onEvaluator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insights
The list of insight analyses applied during the batch evaluation.
- Parameters:
insights- The list of insight analyses applied during the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of insight analyses applied during the batch evaluation.
- Parameters:
insights- The list of insight analyses applied during the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The list of insight analyses applied during the batch evaluation.
This is a convenience method that creates an instance of theInsight.Builderavoiding the need to create one manually viaInsight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsights(List<Insight>).- Parameters:
insights- a consumer that will call methods onInsight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSourceConfig
The data source configuration specifying where agent traces are pulled from.
- Parameters:
dataSourceConfig- The data source configuration specifying where agent traces are pulled from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfig
default GetBatchEvaluationResponse.Builder dataSourceConfig(Consumer<DataSourceConfig.Builder> dataSourceConfig) The data source configuration specifying where agent traces are pulled from.
This is a convenience method that creates an instance of theDataSourceConfig.Builderavoiding the need to create one manually viaDataSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceConfig(DataSourceConfig).- Parameters:
dataSourceConfig- a consumer that will call methods onDataSourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
The output configuration specifying where evaluation results are written.
- Parameters:
outputConfig- The output configuration specifying where evaluation results are written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default GetBatchEvaluationResponse.Builder outputConfig(Consumer<OutputConfig.Builder> outputConfig) The output configuration specifying where evaluation results are written.
This is a convenience method that creates an instance of theOutputConfig.Builderavoiding the need to create one manually viaOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(OutputConfig).- Parameters:
outputConfig- a consumer that will call methods onOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationResults
The aggregated evaluation results, including session completion counts and evaluator score summaries.
- Parameters:
evaluationResults- The aggregated evaluation results, including session completion counts and evaluator score summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResults
default GetBatchEvaluationResponse.Builder evaluationResults(Consumer<EvaluationJobResults.Builder> evaluationResults) The aggregated evaluation results, including session completion counts and evaluator score summaries.
This is a convenience method that creates an instance of theEvaluationJobResults.Builderavoiding the need to create one manually viaEvaluationJobResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationResults(EvaluationJobResults).- Parameters:
evaluationResults- a consumer that will call methods onEvaluationJobResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureAnalysisResult
GetBatchEvaluationResponse.Builder failureAnalysisResult(FailureAnalysisResultContent failureAnalysisResult) The failure analysis results from insights, containing categorized failure clusters with root causes and recommendations.
- Parameters:
failureAnalysisResult- The failure analysis results from insights, containing categorized failure clusters with root causes and recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureAnalysisResult
default GetBatchEvaluationResponse.Builder failureAnalysisResult(Consumer<FailureAnalysisResultContent.Builder> failureAnalysisResult) The failure analysis results from insights, containing categorized failure clusters with root causes and recommendations.
This is a convenience method that creates an instance of theFailureAnalysisResultContent.Builderavoiding the need to create one manually viaFailureAnalysisResultContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureAnalysisResult(FailureAnalysisResultContent).- Parameters:
failureAnalysisResult- a consumer that will call methods onFailureAnalysisResultContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userIntentResult
GetBatchEvaluationResponse.Builder userIntentResult(UserIntentClusteringResultContent userIntentResult) The user intent clustering results from insights, containing grouped user intents across evaluated sessions.
- Parameters:
userIntentResult- The user intent clustering results from insights, containing grouped user intents across evaluated sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIntentResult
default GetBatchEvaluationResponse.Builder userIntentResult(Consumer<UserIntentClusteringResultContent.Builder> userIntentResult) The user intent clustering results from insights, containing grouped user intents across evaluated sessions.
This is a convenience method that creates an instance of theUserIntentClusteringResultContent.Builderavoiding the need to create one manually viaUserIntentClusteringResultContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserIntentResult(UserIntentClusteringResultContent).- Parameters:
userIntentResult- a consumer that will call methods onUserIntentClusteringResultContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionSummaryResult
GetBatchEvaluationResponse.Builder executionSummaryResult(ExecutionSummaryClusteringResultContent executionSummaryResult) The execution summary clustering results from insights, containing grouped execution patterns across evaluated sessions.
- Parameters:
executionSummaryResult- The execution summary clustering results from insights, containing grouped execution patterns across evaluated sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionSummaryResult
default GetBatchEvaluationResponse.Builder executionSummaryResult(Consumer<ExecutionSummaryClusteringResultContent.Builder> executionSummaryResult) The execution summary clustering results from insights, containing grouped execution patterns across evaluated sessions.
This is a convenience method that creates an instance of theExecutionSummaryClusteringResultContent.Builderavoiding the need to create one manually viaExecutionSummaryClusteringResultContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionSummaryResult(ExecutionSummaryClusteringResultContent).- Parameters:
executionSummaryResult- a consumer that will call methods onExecutionSummaryClusteringResultContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDetails
The error details if the batch evaluation encountered failures.
- Parameters:
errorDetails- The error details if the batch evaluation encountered failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The error details if the batch evaluation encountered failures.
- Parameters:
errorDetails- The error details if the batch evaluation encountered failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
updatedAt
The timestamp when the batch evaluation was last updated.
- Parameters:
updatedAt- The timestamp when the batch evaluation was last updated.- 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.
- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt evaluation data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-