Class CfnWebACLPropsMixin.RateLimitCookieProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.RateLimitCookieProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.RateLimitCookieProperty>
- Enclosing interface:
CfnWebACLPropsMixin.RateLimitCookieProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.RateLimitCookieProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.RateLimitCookieProperty>
A builder for
CfnWebACLPropsMixin.RateLimitCookieProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.RateLimitCookieProperty.getName()textTransformations(List<? extends Object> textTransformations) Sets the value ofCfnWebACLPropsMixin.RateLimitCookieProperty.getTextTransformations()textTransformations(IResolvable textTransformations) Sets the value ofCfnWebACLPropsMixin.RateLimitCookieProperty.getTextTransformations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWebACLPropsMixin.RateLimitCookieProperty.getName()- Parameters:
name- The name of the cookie to use.- Returns:
this
-
textTransformations
@Stability(Stable) public CfnWebACLPropsMixin.RateLimitCookieProperty.Builder textTransformations(IResolvable textTransformations) Sets the value ofCfnWebACLPropsMixin.RateLimitCookieProperty.getTextTransformations()- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform theFieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.- Returns:
this
-
textTransformations
@Stability(Stable) public CfnWebACLPropsMixin.RateLimitCookieProperty.Builder textTransformations(List<? extends Object> textTransformations) Sets the value ofCfnWebACLPropsMixin.RateLimitCookieProperty.getTextTransformations()- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform theFieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.RateLimitCookieProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.RateLimitCookieProperty - Throws:
NullPointerException- if any required attribute was not provided
-