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.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.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:
-
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:
-
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.
-