Class CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOnlineEvaluationConfigPropsMixin.RuleProperty>
- Enclosing interface:
CfnOnlineEvaluationConfigPropsMixin.RuleProperty
@Stability(Stable)
public static final class CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOnlineEvaluationConfigPropsMixin.RuleProperty>
A builder for
CfnOnlineEvaluationConfigPropsMixin.RuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getFilters()filters(IResolvable filters) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getFilters()Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSamplingConfig()samplingConfig(IResolvable samplingConfig) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSamplingConfig()Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSessionConfig()sessionConfig(IResolvable sessionConfig) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSessionConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filters
@Stability(Stable) public CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder filters(IResolvable filters) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getFilters()- Parameters:
filters- The list of filters that determine which agent traces should be included in the evaluation.- Returns:
this
-
filters
@Stability(Stable) public CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder filters(List<? extends Object> filters) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getFilters()- Parameters:
filters- The list of filters that determine which agent traces should be included in the evaluation.- Returns:
this
-
samplingConfig
@Stability(Stable) public CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder samplingConfig(IResolvable samplingConfig) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSamplingConfig()- Parameters:
samplingConfig- The configuration that controls what percentage of agent traces are sampled for evaluation.- Returns:
this
-
samplingConfig
@Stability(Stable) public CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder samplingConfig(CfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty samplingConfig) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSamplingConfig()- Parameters:
samplingConfig- The configuration that controls what percentage of agent traces are sampled for evaluation.- Returns:
this
-
sessionConfig
@Stability(Stable) public CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder sessionConfig(IResolvable sessionConfig) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSessionConfig()- Parameters:
sessionConfig- The configuration that defines how agent sessions are detected.- Returns:
this
-
sessionConfig
@Stability(Stable) public CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Builder sessionConfig(CfnOnlineEvaluationConfigPropsMixin.SessionConfigProperty sessionConfig) Sets the value ofCfnOnlineEvaluationConfigPropsMixin.RuleProperty.getSessionConfig()- Parameters:
sessionConfig- The configuration that defines how agent sessions are detected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOnlineEvaluationConfigPropsMixin.RuleProperty>- Returns:
- a new instance of
CfnOnlineEvaluationConfigPropsMixin.RuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-