public static final class CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder
extends java.lang.Object
CfnWebACL.RegexPatternSetReferenceStatementProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder |
arn(java.lang.String arn)
Sets the value of
CfnWebACL.RegexPatternSetReferenceStatementProperty.getArn() |
CfnWebACL.RegexPatternSetReferenceStatementProperty |
build()
Builds the configured instance.
|
CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder |
fieldToMatch(CfnWebACL.FieldToMatchProperty fieldToMatch)
Sets the value of
CfnWebACL.RegexPatternSetReferenceStatementProperty.getFieldToMatch() |
CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder |
fieldToMatch(IResolvable fieldToMatch)
Sets the value of
CfnWebACL.RegexPatternSetReferenceStatementProperty.getFieldToMatch() |
CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder |
textTransformations(IResolvable textTransformations)
|
CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder |
textTransformations(java.util.List<? extends java.lang.Object> textTransformations)
|
public CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder arn(java.lang.String arn)
CfnWebACL.RegexPatternSetReferenceStatementProperty.getArn()
arn
- The Amazon Resource Name (ARN) of the `RegexPatternSet` that this statement references. This parameter is required.this
public CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder fieldToMatch(IResolvable fieldToMatch)
CfnWebACL.RegexPatternSetReferenceStatementProperty.getFieldToMatch()
fieldToMatch
- The part of the web request that you want AWS WAF to inspect. This parameter is required.this
public CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder fieldToMatch(CfnWebACL.FieldToMatchProperty fieldToMatch)
CfnWebACL.RegexPatternSetReferenceStatementProperty.getFieldToMatch()
fieldToMatch
- The part of the web request that you want AWS WAF to inspect. This parameter is required.this
public CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder textTransformations(IResolvable textTransformations)
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.
If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch
, starting from the lowest priority setting, before inspecting the content for a match.this
public CfnWebACL.RegexPatternSetReferenceStatementProperty.Builder textTransformations(java.util.List<? extends java.lang.Object> textTransformations)
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.
If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch
, starting from the lowest priority setting, before inspecting the content for a match.this
public CfnWebACL.RegexPatternSetReferenceStatementProperty build()
CfnWebACL.RegexPatternSetReferenceStatementProperty
java.lang.NullPointerException
- if any required attribute was not provided