Interface WafAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WafAction.Builder,,WafAction> SdkBuilder<WafAction.Builder,,WafAction> SdkPojo
- Enclosing class:
WafAction
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies how you want WAF to respond to requests that match the settings in a rule.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, sdkFields
-
Method Details
-
type
Specifies how you want WAF to respond to requests that match the settings in a rule.
Valid settings include the following:
-
ALLOW- WAF allows requests -
BLOCK- WAF blocks requests -
COUNT- WAF increments a counter of the requests that match all of the conditions in the rule. WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNTfor the default action for a web ACL.
- Parameters:
type- Specifies how you want WAF to respond to requests that match the settings in a rule.Valid settings include the following:
-
ALLOW- WAF allows requests -
BLOCK- WAF blocks requests -
COUNT- WAF increments a counter of the requests that match all of the conditions in the rule. WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNTfor the default action for a web ACL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-