Class CfnWebACL.RateLimitQueryStringProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.RateLimitQueryStringProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.RateLimitQueryStringProperty>
- Enclosing interface:
CfnWebACL.RateLimitQueryStringProperty
@Stability(Stable)
public static final class CfnWebACL.RateLimitQueryStringProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.RateLimitQueryStringProperty>
A builder for
CfnWebACL.RateLimitQueryStringProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.textTransformations
(List<? extends Object> textTransformations) Sets the value ofCfnWebACL.RateLimitQueryStringProperty.getTextTransformations()
textTransformations
(IResolvable textTransformations) Sets the value ofCfnWebACL.RateLimitQueryStringProperty.getTextTransformations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
textTransformations
@Stability(Stable) public CfnWebACL.RateLimitQueryStringProperty.Builder textTransformations(IResolvable textTransformations) Sets the value ofCfnWebACL.RateLimitQueryStringProperty.getTextTransformations()
- Parameters:
textTransformations
- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. This parameter is required. Text transformations are used in rule match statements, to transform theFieldToMatch
request 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 CfnWebACL.RateLimitQueryStringProperty.Builder textTransformations(List<? extends Object> textTransformations) Sets the value ofCfnWebACL.RateLimitQueryStringProperty.getTextTransformations()
- Parameters:
textTransformations
- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. This parameter is required. Text transformations are used in rule match statements, to transform theFieldToMatch
request 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.RateLimitQueryStringProperty>
- Returns:
- a new instance of
CfnWebACL.RateLimitQueryStringProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-