Class CfnEvaluator.RatingScaleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnEvaluator.RatingScaleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluator.RatingScaleProperty>
- Enclosing interface:
CfnEvaluator.RatingScaleProperty
@Stability(Stable)
public static final class CfnEvaluator.RatingScaleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluator.RatingScaleProperty>
A builder for
CfnEvaluator.RatingScaleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categorical(List<? extends Object> categorical) Sets the value ofCfnEvaluator.RatingScaleProperty.getCategorical()categorical(IResolvable categorical) Sets the value ofCfnEvaluator.RatingScaleProperty.getCategorical()Sets the value ofCfnEvaluator.RatingScaleProperty.getNumerical()numerical(IResolvable numerical) Sets the value ofCfnEvaluator.RatingScaleProperty.getNumerical()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categorical
@Stability(Stable) public CfnEvaluator.RatingScaleProperty.Builder categorical(IResolvable categorical) Sets the value ofCfnEvaluator.RatingScaleProperty.getCategorical()- Parameters:
categorical- the value to be set.- Returns:
this
-
categorical
@Stability(Stable) public CfnEvaluator.RatingScaleProperty.Builder categorical(List<? extends Object> categorical) Sets the value ofCfnEvaluator.RatingScaleProperty.getCategorical()- Parameters:
categorical- the value to be set.- Returns:
this
-
numerical
Sets the value ofCfnEvaluator.RatingScaleProperty.getNumerical()- Parameters:
numerical- the value to be set.- Returns:
this
-
numerical
@Stability(Stable) public CfnEvaluator.RatingScaleProperty.Builder numerical(List<? extends Object> numerical) Sets the value ofCfnEvaluator.RatingScaleProperty.getNumerical()- Parameters:
numerical- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluator.RatingScaleProperty>- Returns:
- a new instance of
CfnEvaluator.RatingScaleProperty - Throws:
NullPointerException- if any required attribute was not provided
-