Interface AwsWafv2RulesActionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsWafv2RulesActionDetails.Builder,AwsWafv2RulesActionDetails>,SdkBuilder<AwsWafv2RulesActionDetails.Builder,AwsWafv2RulesActionDetails>,SdkPojo
- Enclosing class:
- AwsWafv2RulesActionDetails
public static interface AwsWafv2RulesActionDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafv2RulesActionDetails.Builder,AwsWafv2RulesActionDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsWafv2RulesActionDetails.Builderallow(Consumer<AwsWafv2ActionAllowDetails.Builder> allow)Instructs WAF to allow the web request.AwsWafv2RulesActionDetails.Builderallow(AwsWafv2ActionAllowDetails allow)Instructs WAF to allow the web request.default AwsWafv2RulesActionDetails.Builderblock(Consumer<AwsWafv2ActionBlockDetails.Builder> block)Instructs WAF to block the web request.AwsWafv2RulesActionDetails.Builderblock(AwsWafv2ActionBlockDetails block)Instructs WAF to block the web request.default AwsWafv2RulesActionDetails.Buildercaptcha(Consumer<AwsWafv2RulesActionCaptchaDetails.Builder> captcha)Instructs WAF to run a CAPTCHA check against the web request.AwsWafv2RulesActionDetails.Buildercaptcha(AwsWafv2RulesActionCaptchaDetails captcha)Instructs WAF to run a CAPTCHA check against the web request.default AwsWafv2RulesActionDetails.Buildercount(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.AwsWafv2RulesActionDetails.Buildercount(AwsWafv2RulesActionCountDetails count)Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.-
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 Detail
-
allow
AwsWafv2RulesActionDetails.Builder allow(AwsWafv2ActionAllowDetails allow)
Instructs WAF to allow the web request.
- Parameters:
allow- Instructs WAF to allow the web request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allow
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.Builderavoiding the need to create one manually viaAwsWafv2ActionAllowDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallow(AwsWafv2ActionAllowDetails).- Parameters:
allow- a consumer that will call methods onAwsWafv2ActionAllowDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
allow(AwsWafv2ActionAllowDetails)
-
block
AwsWafv2RulesActionDetails.Builder block(AwsWafv2ActionBlockDetails block)
Instructs WAF to block the web request.
- Parameters:
block- Instructs WAF to block the web request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
block
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.Builderavoiding the need to create one manually viaAwsWafv2ActionBlockDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblock(AwsWafv2ActionBlockDetails).- Parameters:
block- a consumer that will call methods onAwsWafv2ActionBlockDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
block(AwsWafv2ActionBlockDetails)
-
captcha
AwsWafv2RulesActionDetails.Builder captcha(AwsWafv2RulesActionCaptchaDetails captcha)
Instructs WAF to run a CAPTCHA check against the web request.
- Parameters:
captcha- Instructs WAF to run a CAPTCHA check against the web request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
captcha
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.Builderavoiding the need to create one manually viaAwsWafv2RulesActionCaptchaDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaptcha(AwsWafv2RulesActionCaptchaDetails).- Parameters:
captcha- a consumer that will call methods onAwsWafv2RulesActionCaptchaDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
captcha(AwsWafv2RulesActionCaptchaDetails)
-
count
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.
- Parameters:
count- Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
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.Builderavoiding the need to create one manually viaAwsWafv2RulesActionCountDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocount(AwsWafv2RulesActionCountDetails).- Parameters:
count- a consumer that will call methods onAwsWafv2RulesActionCountDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
count(AwsWafv2RulesActionCountDetails)
-
-