public static interface XssMatchStatement.Builder extends SdkPojo, CopyableBuilder<XssMatchStatement.Builder,XssMatchStatement>
| Modifier and Type | Method and Description |
|---|---|
default XssMatchStatement.Builder |
fieldToMatch(Consumer<FieldToMatch.Builder> fieldToMatch)
The part of the web request that you want WAF to inspect.
|
XssMatchStatement.Builder |
fieldToMatch(FieldToMatch fieldToMatch)
The part of the web request that you want WAF to inspect.
|
XssMatchStatement.Builder |
textTransformations(Collection<TextTransformation> textTransformations)
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort
to bypass detection.
|
XssMatchStatement.Builder |
textTransformations(Consumer<TextTransformation.Builder>... textTransformations)
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort
to bypass detection.
|
XssMatchStatement.Builder |
textTransformations(TextTransformation... textTransformations)
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort
to bypass detection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildXssMatchStatement.Builder fieldToMatch(FieldToMatch fieldToMatch)
The part of the web request that you want WAF to inspect.
fieldToMatch - The part of the web request that you want WAF to inspect.default XssMatchStatement.Builder fieldToMatch(Consumer<FieldToMatch.Builder> fieldToMatch)
The part of the web request that you want WAF to inspect.
This is a convenience method that creates an instance of theFieldToMatch.Builder avoiding the need
to create one manually via FieldToMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to fieldToMatch(FieldToMatch).
fieldToMatch - a consumer that will call methods on FieldToMatch.BuilderfieldToMatch(FieldToMatch)XssMatchStatement.Builder textTransformations(Collection<TextTransformation> 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 the
FieldToMatch 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, WAF performs all transformations on the specified content, starting from
the lowest priority setting, and then uses the transformed component contents.
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 the
FieldToMatch 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, WAF performs all transformations on the specified
content, starting from the lowest priority setting, and then uses the transformed component contents.XssMatchStatement.Builder textTransformations(TextTransformation... 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 the
FieldToMatch 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, WAF performs all transformations on the specified content, starting from
the lowest priority setting, and then uses the transformed component contents.
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 the
FieldToMatch 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, WAF performs all transformations on the specified
content, starting from the lowest priority setting, and then uses the transformed component contents.XssMatchStatement.Builder textTransformations(Consumer<TextTransformation.Builder>... 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 the
FieldToMatch 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, WAF performs all transformations on the specified content, starting from
the lowest priority setting, and then uses the transformed component contents.
TextTransformation.Builder avoiding the need to create
one manually via TextTransformation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #textTransformations(List.
textTransformations - a consumer that will call methods on
TextTransformation.Builder#textTransformations(java.util.Collection) Copyright © 2023. All rights reserved.