Class CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty>
- Enclosing interface:
CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.getArn()build()Builds the configured instance.fieldToMatch(CfnWebACLPropsMixin.FieldToMatchProperty fieldToMatch) fieldToMatch(IResolvable fieldToMatch) textTransformations(List<? extends Object> textTransformations) textTransformations(IResolvable textTransformations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Stable) public CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder arn(String arn) Sets the value ofCfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of theRegexPatternSetthat this statement references.- Returns:
this
-
fieldToMatch
@Stability(Stable) public CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder fieldToMatch(IResolvable fieldToMatch) - Parameters:
fieldToMatch- The part of the web request that you want AWS WAF to inspect.- Returns:
this
-
fieldToMatch
@Stability(Stable) public CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder fieldToMatch(CfnWebACLPropsMixin.FieldToMatchProperty fieldToMatch) - Parameters:
fieldToMatch- The part of the web request that you want AWS WAF to inspect.- Returns:
this
-
textTransformations
@Stability(Stable) public CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder textTransformations(IResolvable textTransformations) Sets the value ofCfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.getTextTransformations()- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified byFieldToMatch, starting from the lowest priority setting, before inspecting the content for a match.- Returns:
this
-
textTransformations
@Stability(Stable) public CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.Builder textTransformations(List<? extends Object> textTransformations) Sets the value ofCfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty.getTextTransformations()- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified byFieldToMatch, starting from the lowest priority setting, before inspecting the content for a match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.RegexPatternSetReferenceStatementProperty - Throws:
NullPointerException- if any required attribute was not provided
-