Interface UpdateEvaluatorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateEvaluatorRequest.Builder,,UpdateEvaluatorRequest> SdkBuilder<UpdateEvaluatorRequest.Builder,,UpdateEvaluatorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEvaluatorRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.description(String description) The updated description of the evaluator.default UpdateEvaluatorRequest.BuilderevaluatorConfig(Consumer<EvaluatorConfig.Builder> evaluatorConfig) The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration.evaluatorConfig(EvaluatorConfig evaluatorConfig) The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration.evaluatorId(String evaluatorId) The unique identifier of the evaluator to update.The updated evaluation level (TOOL_CALL,TRACE, orSESSION) that determines the scope of evaluation.level(EvaluatorLevel level) The updated evaluation level (TOOL_CALL,TRACE, orSESSION) that determines the scope of 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.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.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
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorId
The unique identifier of the evaluator to update.
- Parameters:
evaluatorId- The unique identifier of the evaluator to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the evaluator.
- Parameters:
description- The updated description of the evaluator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorConfig
The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration.
- Parameters:
evaluatorConfig- The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorConfig
default UpdateEvaluatorRequest.Builder evaluatorConfig(Consumer<EvaluatorConfig.Builder> evaluatorConfig) The updated configuration for the evaluator, including LLM-as-a-Judge settings with instructions, rating scale, and model configuration.
This is a convenience method that creates an instance of theEvaluatorConfig.Builderavoiding the need to create one manually viaEvaluatorConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluatorConfig(EvaluatorConfig).- Parameters:
evaluatorConfig- a consumer that will call methods onEvaluatorConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level
The updated evaluation level (
TOOL_CALL,TRACE, orSESSION) that determines the scope of evaluation.- Parameters:
level- The updated evaluation level (TOOL_CALL,TRACE, orSESSION) that determines the scope of evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level
The updated evaluation level (
TOOL_CALL,TRACE, orSESSION) that determines the scope of evaluation.- Parameters:
level- The updated evaluation level (TOOL_CALL,TRACE, orSESSION) that determines the scope of evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEvaluatorRequest.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
UpdateEvaluatorRequest.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.
-