Class CfnEvaluatorProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnEvaluatorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluatorProps>
- Enclosing interface:
CfnEvaluatorProps
@Stability(Stable)
public static final class CfnEvaluatorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluatorProps>
A builder for
CfnEvaluatorProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEvaluatorProps.getDescription()evaluatorConfig(IResolvable evaluatorConfig) Sets the value ofCfnEvaluatorProps.getEvaluatorConfig()evaluatorConfig(CfnEvaluator.EvaluatorConfigProperty evaluatorConfig) Sets the value ofCfnEvaluatorProps.getEvaluatorConfig()evaluatorName(String evaluatorName) Sets the value ofCfnEvaluatorProps.getEvaluatorName()Sets the value ofCfnEvaluatorProps.getLevel()Sets the value ofCfnEvaluatorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
evaluatorConfig
Sets the value ofCfnEvaluatorProps.getEvaluatorConfig()- Parameters:
evaluatorConfig- The configuration that defines how an evaluator assesses agent performance. This parameter is required.- Returns:
this
-
evaluatorConfig
@Stability(Stable) public CfnEvaluatorProps.Builder evaluatorConfig(CfnEvaluator.EvaluatorConfigProperty evaluatorConfig) Sets the value ofCfnEvaluatorProps.getEvaluatorConfig()- Parameters:
evaluatorConfig- The configuration that defines how an evaluator assesses agent performance. This parameter is required.- Returns:
this
-
evaluatorName
Sets the value ofCfnEvaluatorProps.getEvaluatorName()- Parameters:
evaluatorName- The name of the evaluator. This parameter is required. Must be unique within your account.- Returns:
this
-
level
Sets the value ofCfnEvaluatorProps.getLevel()- Parameters:
level- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnEvaluatorProps.getDescription()- Parameters:
description- The description of the evaluator.- Returns:
this
-
tags
Sets the value ofCfnEvaluatorProps.getTags()- Parameters:
tags- A list of tags to assign to the evaluator.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluatorProps>- Returns:
- a new instance of
CfnEvaluatorProps - Throws:
NullPointerException- if any required attribute was not provided
-