Interface StartBatchEvaluationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<StartBatchEvaluationRequest.Builder,,StartBatchEvaluationRequest> SdkBuilder<StartBatchEvaluationRequest.Builder,,StartBatchEvaluationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartBatchEvaluationRequest
-
Method Summary
Modifier and TypeMethodDescriptionbatchEvaluationName(String batchEvaluationName) The name of the batch evaluation.clientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.dataSourceConfig(Consumer<DataSourceConfig.Builder> dataSourceConfig) The data source configuration that specifies where to pull agent session traces from for evaluation.dataSourceConfig(DataSourceConfig dataSourceConfig) The data source configuration that specifies where to pull agent session traces from for evaluation.description(String description) The description of the batch evaluation.evaluationMetadata(Consumer<EvaluationMetadata.Builder> evaluationMetadata) Optional metadata for the evaluation, including session-specific ground truth data and test scenario identifiers.evaluationMetadata(EvaluationMetadata evaluationMetadata) Optional metadata for the evaluation, including session-specific ground truth data and test scenario identifiers.evaluators(Collection<Evaluator> evaluators) The list of evaluators to apply during the batch evaluation.evaluators(Consumer<Evaluator.Builder>... evaluators) The list of evaluators to apply during the batch evaluation.evaluators(Evaluator... evaluators) The list of evaluators to apply during the batch evaluation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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 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 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 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:
-
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
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 theEvaluationMetadata.Builderavoiding the need to create one manually viaEvaluationMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationMetadata(EvaluationMetadata).- Parameters:
evaluationMetadata- a consumer that will call methods onEvaluationMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartBatchEvaluationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-