public static final class CfnWebACL.XssMatchStatementProperty.Builder
extends java.lang.Object
CfnWebACL.XssMatchStatementProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.XssMatchStatementProperty |
build()
Builds the configured instance.
|
CfnWebACL.XssMatchStatementProperty.Builder |
fieldToMatch(CfnWebACL.FieldToMatchProperty fieldToMatch)
Sets the value of
CfnWebACL.XssMatchStatementProperty.getFieldToMatch() |
CfnWebACL.XssMatchStatementProperty.Builder |
fieldToMatch(IResolvable fieldToMatch)
Sets the value of
CfnWebACL.XssMatchStatementProperty.getFieldToMatch() |
CfnWebACL.XssMatchStatementProperty.Builder |
textTransformations(IResolvable textTransformations)
Sets the value of
CfnWebACL.XssMatchStatementProperty.getTextTransformations() |
CfnWebACL.XssMatchStatementProperty.Builder |
textTransformations(java.util.List<? extends java.lang.Object> textTransformations)
Sets the value of
CfnWebACL.XssMatchStatementProperty.getTextTransformations() |
public CfnWebACL.XssMatchStatementProperty.Builder fieldToMatch(IResolvable fieldToMatch)
CfnWebACL.XssMatchStatementProperty.getFieldToMatch()
fieldToMatch
- The part of the web request that you want AWS WAF to inspect. This parameter is required.this
public CfnWebACL.XssMatchStatementProperty.Builder fieldToMatch(CfnWebACL.FieldToMatchProperty fieldToMatch)
CfnWebACL.XssMatchStatementProperty.getFieldToMatch()
fieldToMatch
- The part of the web request that you want AWS WAF to inspect. This parameter is required.this
public CfnWebACL.XssMatchStatementProperty.Builder textTransformations(IResolvable textTransformations)
CfnWebACL.XssMatchStatementProperty.getTextTransformations()
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.XssMatchStatementProperty.Builder textTransformations(java.util.List<? extends java.lang.Object> textTransformations)
CfnWebACL.XssMatchStatementProperty.getTextTransformations()
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.XssMatchStatementProperty build()
CfnWebACL.XssMatchStatementProperty
java.lang.NullPointerException
- if any required attribute was not provided