Class EvaluatorAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.EvaluatorAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EvaluatorAttributes>
- Enclosing interface:
EvaluatorAttributes
@Stability(Stable)
public static final class EvaluatorAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<EvaluatorAttributes>
A builder for
EvaluatorAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.evaluatorArn(String evaluatorArn) Sets the value ofEvaluatorAttributes.getEvaluatorArn()evaluatorId(String evaluatorId) Sets the value ofEvaluatorAttributes.getEvaluatorId()evaluatorName(String evaluatorName) Sets the value ofEvaluatorAttributes.getEvaluatorName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
evaluatorArn
Sets the value ofEvaluatorAttributes.getEvaluatorArn()- Parameters:
evaluatorArn- The ARN of the evaluator. This parameter is required.- Returns:
this
-
evaluatorId
Sets the value ofEvaluatorAttributes.getEvaluatorId()- Parameters:
evaluatorId- The ID of the evaluator. This parameter is required.- Returns:
this
-
evaluatorName
Sets the value ofEvaluatorAttributes.getEvaluatorName()- Parameters:
evaluatorName- The name of the evaluator.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EvaluatorAttributes>- Returns:
- a new instance of
EvaluatorAttributes - Throws:
NullPointerException- if any required attribute was not provided
-