public static interface SizeConstraintStatement.Builder extends SdkPojo, CopyableBuilder<SizeConstraintStatement.Builder,SizeConstraintStatement>
| Modifier and Type | Method and Description |
|---|---|
SizeConstraintStatement.Builder |
comparisonOperator(ComparisonOperator comparisonOperator)
The operator to use to compare the request part to the size setting.
|
SizeConstraintStatement.Builder |
comparisonOperator(String comparisonOperator)
The operator to use to compare the request part to the size setting.
|
default SizeConstraintStatement.Builder |
fieldToMatch(Consumer<FieldToMatch.Builder> fieldToMatch)
The part of the web request that you want WAF to inspect.
|
SizeConstraintStatement.Builder |
fieldToMatch(FieldToMatch fieldToMatch)
The part of the web request that you want WAF to inspect.
|
SizeConstraintStatement.Builder |
size(Long size)
The size, in byte, to compare to the request part, after any transformations.
|
SizeConstraintStatement.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.
|
SizeConstraintStatement.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.
|
SizeConstraintStatement.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, buildSizeConstraintStatement.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 SizeConstraintStatement.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)SizeConstraintStatement.Builder comparisonOperator(String comparisonOperator)
The operator to use to compare the request part to the size setting.
comparisonOperator - The operator to use to compare the request part to the size setting.ComparisonOperator,
ComparisonOperatorSizeConstraintStatement.Builder comparisonOperator(ComparisonOperator comparisonOperator)
The operator to use to compare the request part to the size setting.
comparisonOperator - The operator to use to compare the request part to the size setting.ComparisonOperator,
ComparisonOperatorSizeConstraintStatement.Builder size(Long size)
The size, in byte, to compare to the request part, after any transformations.
size - The size, in byte, to compare to the request part, after any transformations.SizeConstraintStatement.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. If you specify one or more transformations in a rule statement, 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.
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, 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.SizeConstraintStatement.Builder textTransformations(TextTransformation... 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, 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.
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, 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.SizeConstraintStatement.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. If you specify one or more transformations in a rule statement, 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.
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 © 2022. All rights reserved.