Interface WafRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WafRule.Builder,,WafRule> SdkBuilder<WafRule.Builder,,WafRule> SdkPojo
- Enclosing class:
WafRule
-
Method Summary
Modifier and TypeMethodDescriptiondefault WafRule.BuilderacfpConfig(Consumer<WafAcfpConfig.Builder> acfpConfig) An object that describes the configuration of the account creation fraud prevention rule group.acfpConfig(WafAcfpConfig acfpConfig) An object that describes the configuration of the account creation fraud prevention rule group.default WafRule.BuilderatpConfig(Consumer<WafAtpConfig.Builder> atpConfig) An object that describes the configuration of the account takeover prevention rule group.atpConfig(WafAtpConfig atpConfig) An object that describes the configuration of the account takeover prevention rule group.default WafRule.BuilderbotControlConfig(Consumer<WafBotControlConfig.Builder> botControlConfig) An object that describes the configuration of the bot control rule group.botControlConfig(WafBotControlConfig botControlConfig) An object that describes the configuration of the bot control rule group.The name of the WAF rule group (for example,AWSManagedRulesCommonRuleSet).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the WAF rule group (for example,
AWSManagedRulesCommonRuleSet).For the WAF rule groups that you can specify for each bundle, see the
wafRulesparameter of theCreateDistributionaction.- Parameters:
name- The name of the WAF rule group (for example,AWSManagedRulesCommonRuleSet).For the WAF rule groups that you can specify for each bundle, see the
wafRulesparameter of theCreateDistributionaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atpConfig
An object that describes the configuration of the account takeover prevention rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesATPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesATPRuleSet.
- Parameters:
atpConfig- An object that describes the configuration of the account takeover prevention rule group.Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesATPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesATPRuleSet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
atpConfig
An object that describes the configuration of the account takeover prevention rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesATPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesATPRuleSet.
WafAtpConfig.Builderavoiding the need to create one manually viaWafAtpConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toatpConfig(WafAtpConfig).- Parameters:
atpConfig- a consumer that will call methods onWafAtpConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
acfpConfig
An object that describes the configuration of the account creation fraud prevention rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesACFPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesACFPRuleSet.
- Parameters:
acfpConfig- An object that describes the configuration of the account creation fraud prevention rule group.Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesACFPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesACFPRuleSet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
acfpConfig
An object that describes the configuration of the account creation fraud prevention rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesACFPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesACFPRuleSet.
WafAcfpConfig.Builderavoiding the need to create one manually viaWafAcfpConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toacfpConfig(WafAcfpConfig).- Parameters:
acfpConfig- a consumer that will call methods onWafAcfpConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
botControlConfig
An object that describes the configuration of the bot control rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesBotControlRuleSet. -
This parameter is required when the
nameisAWSManagedRulesBotControlRuleSet.
- Parameters:
botControlConfig- An object that describes the configuration of the bot control rule group.Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesBotControlRuleSet. -
This parameter is required when the
nameisAWSManagedRulesBotControlRuleSet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
botControlConfig
An object that describes the configuration of the bot control rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesBotControlRuleSet. -
This parameter is required when the
nameisAWSManagedRulesBotControlRuleSet.
WafBotControlConfig.Builderavoiding the need to create one manually viaWafBotControlConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobotControlConfig(WafBotControlConfig).- Parameters:
botControlConfig- a consumer that will call methods onWafBotControlConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-