Class CfnEvaluator.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnEvaluator.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluator>
- Enclosing class:
CfnEvaluator
@Stability(Stable)
public static final class CfnEvaluator.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluator>
A fluent builder for
CfnEvaluator.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnEvaluator.Builderdescription(String description) The description of the evaluator.evaluatorConfig(IResolvable evaluatorConfig) The configuration that defines how an evaluator assesses agent performance.evaluatorConfig(CfnEvaluator.EvaluatorConfigProperty evaluatorConfig) The configuration that defines how an evaluator assesses agent performance.evaluatorName(String evaluatorName) The name of the evaluator.The ARN of the KMS key used to encrypt evaluator data.A list of tags to assign to the evaluator.
-
Method Details
-
create
@Stability(Stable) public static CfnEvaluator.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEvaluator.Builder.
-
evaluatorConfig
The configuration that defines how an evaluator assesses agent performance.- Parameters:
evaluatorConfig- The configuration that defines how an evaluator assesses agent performance. This parameter is required.- Returns:
this- See Also:
-
evaluatorConfig
@Stability(Stable) public CfnEvaluator.Builder evaluatorConfig(CfnEvaluator.EvaluatorConfigProperty evaluatorConfig) The configuration that defines how an evaluator assesses agent performance.- Parameters:
evaluatorConfig- The configuration that defines how an evaluator assesses agent performance. This parameter is required.- Returns:
this- See Also:
-
evaluatorName
The name of the evaluator.Must be unique within your account.
- Parameters:
evaluatorName- The name of the evaluator. This parameter is required.- Returns:
this- See Also:
-
level
- Parameters:
level- This parameter is required.- Returns:
this- See Also:
-
description
The description of the evaluator.- Parameters:
description- The description of the evaluator. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The ARN of the KMS key used to encrypt evaluator data.- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt evaluator data. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to assign to the evaluator.- Parameters:
tags- A list of tags to assign to the evaluator. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluator>- Returns:
- a newly built instance of
CfnEvaluator.
-