Interface StartBatchEvaluationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<StartBatchEvaluationResponse.Builder,,StartBatchEvaluationResponse> SdkBuilder<StartBatchEvaluationResponse.Builder,,StartBatchEvaluationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartBatchEvaluationResponse
-
Method Summary
Modifier and TypeMethodDescriptionbatchEvaluationArn(String batchEvaluationArn) The Amazon Resource Name (ARN) of the created batch evaluation.batchEvaluationId(String batchEvaluationId) The unique identifier of the created batch evaluation.batchEvaluationName(String batchEvaluationName) The name of the batch evaluation.The timestamp when the batch evaluation was created.description(String description) The description of the batch evaluation.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 status of the batch evaluation.status(BatchEvaluationStatus status) The status of the batch evaluation.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 created batch evaluation.
- Parameters:
batchEvaluationId- The unique identifier of the created 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 created batch evaluation.
- Parameters:
batchEvaluationArn- The Amazon Resource Name (ARN) of the created 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.
-
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:
-
status
The status of the batch evaluation.
- Parameters:
status- The status of the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the batch evaluation.
- Parameters:
status- The 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.
-
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 StartBatchEvaluationResponse.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:
-
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.
-