Class CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty>
- Enclosing interface:
CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableMachineLearning(Boolean enableMachineLearning) enableMachineLearning(IResolvable enableMachineLearning) inspectionLevel(String inspectionLevel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableMachineLearning
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.Builder enableMachineLearning(Boolean enableMachineLearning) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.getEnableMachineLearning()- Parameters:
enableMachineLearning- Applies only to the targeted inspection level. Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rulesTGT_ML_CoordinatedActivityLowandTGT_ML_CoordinatedActivityMedium, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the AWS WAF Developer Guide .
Default:
TRUE- Returns:
this
-
enableMachineLearning
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.Builder enableMachineLearning(IResolvable enableMachineLearning) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.getEnableMachineLearning()- Parameters:
enableMachineLearning- Applies only to the targeted inspection level. Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rulesTGT_ML_CoordinatedActivityLowandTGT_ML_CoordinatedActivityMedium, which inspect for anomalous behavior that might indicate distributed, coordinated bot activity.For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the AWS WAF Developer Guide .
Default:
TRUE- Returns:
this
-
inspectionLevel
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty.Builder inspectionLevel(String inspectionLevel) - Parameters:
inspectionLevel- The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see AWS WAF Bot Control rule group in the AWS WAF Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-