Interface CfnEvaluator.RatingScaleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluator.RatingScaleProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluator
@Stability(Stable)
public static interface CfnEvaluator.RatingScaleProperty
extends software.amazon.jsii.JsiiSerializable
The rating scale that defines how evaluators should score agent performance.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
RatingScaleProperty ratingScaleProperty = RatingScaleProperty.builder()
.categorical(List.of(CategoricalScaleDefinitionProperty.builder()
.definition("definition")
.label("label")
.build()))
.numerical(List.of(NumericalScaleDefinitionProperty.builder()
.definition("definition")
.label("label")
.value(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEvaluator.RatingScalePropertystatic final classAn implementation forCfnEvaluator.RatingScaleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluator.CategoricalScaleDefinitionProperty>default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluator.NumericalScaleDefinitionProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCategorical
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluator.CategoricalScaleDefinitionProperty>- See Also:
-
getNumerical
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluator.NumericalScaleDefinitionProperty>- See Also:
-
builder
-