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 AWS WAF to respond to requests that match the settings in aRule
.type
(WafActionType type) Specifies how you want AWS WAF to respond to requests that match the settings in aRule
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
Specifies how you want AWS WAF to respond to requests that match the settings in a
Rule
. Valid settings include the following:-
ALLOW
: AWS WAF allows requests -
BLOCK
: AWS WAF blocks requests -
COUNT
: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNT
for the default action for aWebACL
.
- Parameters:
type
- Specifies how you want AWS WAF to respond to requests that match the settings in aRule
. Valid settings include the following:-
ALLOW
: AWS WAF allows requests -
BLOCK
: AWS WAF blocks requests -
COUNT
: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNT
for the default action for aWebACL
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
Specifies how you want AWS WAF to respond to requests that match the settings in a
Rule
. Valid settings include the following:-
ALLOW
: AWS WAF allows requests -
BLOCK
: AWS WAF blocks requests -
COUNT
: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNT
for the default action for aWebACL
.
- Parameters:
type
- Specifies how you want AWS WAF to respond to requests that match the settings in aRule
. Valid settings include the following:-
ALLOW
: AWS WAF allows requests -
BLOCK
: AWS WAF blocks requests -
COUNT
: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNT
for the default action for aWebACL
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-