public static interface AwsWafv2RulesActionDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafv2RulesActionDetails.Builder,AwsWafv2RulesActionDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafv2RulesActionDetails.Builder |
allow(AwsWafv2ActionAllowDetails allow)
Instructs WAF to allow the web request.
|
default AwsWafv2RulesActionDetails.Builder |
allow(Consumer<AwsWafv2ActionAllowDetails.Builder> allow)
Instructs WAF to allow the web request.
|
AwsWafv2RulesActionDetails.Builder |
block(AwsWafv2ActionBlockDetails block)
Instructs WAF to block the web request.
|
default AwsWafv2RulesActionDetails.Builder |
block(Consumer<AwsWafv2ActionBlockDetails.Builder> block)
Instructs WAF to block the web request.
|
AwsWafv2RulesActionDetails.Builder |
captcha(AwsWafv2RulesActionCaptchaDetails captcha)
Instructs WAF to run a CAPTCHA check against the web request.
|
default AwsWafv2RulesActionDetails.Builder |
captcha(Consumer<AwsWafv2RulesActionCaptchaDetails.Builder> captcha)
Instructs WAF to run a CAPTCHA check against the web request.
|
AwsWafv2RulesActionDetails.Builder |
count(AwsWafv2RulesActionCountDetails count)
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in
the web ACL.
|
default AwsWafv2RulesActionDetails.Builder |
count(Consumer<AwsWafv2RulesActionCountDetails.Builder> count)
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in
the web ACL.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafv2RulesActionDetails.Builder allow(AwsWafv2ActionAllowDetails allow)
Instructs WAF to allow the web request.
allow - Instructs WAF to allow the web request.default AwsWafv2RulesActionDetails.Builder allow(Consumer<AwsWafv2ActionAllowDetails.Builder> allow)
Instructs WAF to allow the web request.
This is a convenience method that creates an instance of theAwsWafv2ActionAllowDetails.Builder
avoiding the need to create one manually via AwsWafv2ActionAllowDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to allow(AwsWafv2ActionAllowDetails).
allow - a consumer that will call methods on AwsWafv2ActionAllowDetails.Builderallow(AwsWafv2ActionAllowDetails)AwsWafv2RulesActionDetails.Builder block(AwsWafv2ActionBlockDetails block)
Instructs WAF to block the web request.
block - Instructs WAF to block the web request.default AwsWafv2RulesActionDetails.Builder block(Consumer<AwsWafv2ActionBlockDetails.Builder> block)
Instructs WAF to block the web request.
This is a convenience method that creates an instance of theAwsWafv2ActionBlockDetails.Builder
avoiding the need to create one manually via AwsWafv2ActionBlockDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to block(AwsWafv2ActionBlockDetails).
block - a consumer that will call methods on AwsWafv2ActionBlockDetails.Builderblock(AwsWafv2ActionBlockDetails)AwsWafv2RulesActionDetails.Builder captcha(AwsWafv2RulesActionCaptchaDetails captcha)
Instructs WAF to run a CAPTCHA check against the web request.
captcha - Instructs WAF to run a CAPTCHA check against the web request.default AwsWafv2RulesActionDetails.Builder captcha(Consumer<AwsWafv2RulesActionCaptchaDetails.Builder> captcha)
Instructs WAF to run a CAPTCHA check against the web request.
This is a convenience method that creates an instance of theAwsWafv2RulesActionCaptchaDetails.Builder avoiding the need to create one manually via
AwsWafv2RulesActionCaptchaDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to captcha(AwsWafv2RulesActionCaptchaDetails).
captcha - a consumer that will call methods on AwsWafv2RulesActionCaptchaDetails.Buildercaptcha(AwsWafv2RulesActionCaptchaDetails)AwsWafv2RulesActionDetails.Builder count(AwsWafv2RulesActionCountDetails count)
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
count - Instructs WAF to count the web request and then continue evaluating the request using the remaining
rules in the web ACL.default AwsWafv2RulesActionDetails.Builder count(Consumer<AwsWafv2RulesActionCountDetails.Builder> count)
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
This is a convenience method that creates an instance of theAwsWafv2RulesActionCountDetails.Builder
avoiding the need to create one manually via AwsWafv2RulesActionCountDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to count(AwsWafv2RulesActionCountDetails).
count - a consumer that will call methods on AwsWafv2RulesActionCountDetails.Buildercount(AwsWafv2RulesActionCountDetails)Copyright © 2023. All rights reserved.