Interface SqliMatchStatement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SqliMatchStatement.Builder,
,SqliMatchStatement> SdkBuilder<SqliMatchStatement.Builder,
,SqliMatchStatement> SdkPojo
- Enclosing class:
SqliMatchStatement
-
Method Summary
Modifier and TypeMethodDescriptiondefault SqliMatchStatement.Builder
fieldToMatch
(Consumer<FieldToMatch.Builder> fieldToMatch) The part of the web request that you want WAF to inspect.fieldToMatch
(FieldToMatch fieldToMatch) The part of the web request that you want WAF to inspect.sensitivityLevel
(String sensitivityLevel) The sensitivity that you want WAF to use to inspect for SQL injection attacks.sensitivityLevel
(SensitivityLevel sensitivityLevel) The sensitivity that you want WAF to use to inspect for SQL injection attacks.textTransformations
(Collection<TextTransformation> textTransformations) Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.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.textTransformations
(TextTransformation... textTransformations) Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fieldToMatch
The part of the web request that you want WAF to inspect.
- Parameters:
fieldToMatch
- The part of the web request that you want WAF to inspect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaFieldToMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldToMatch(FieldToMatch)
.- Parameters:
fieldToMatch
- a consumer that will call methods onFieldToMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 theFieldToMatch
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 theFieldToMatch
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textTransformations
SqliMatchStatement.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
This is a convenience method that creates an instance of theFieldToMatch
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 viaTextTransformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextTransformations(List<TextTransformation>)
.- Parameters:
textTransformations
- a consumer that will call methods onTextTransformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sensitivityLevel
The sensitivity that you want WAF to use to inspect for SQL injection attacks.
HIGH
detects more attacks, but might generate more false positives, especially if your web requests frequently contain unusual strings. For information about identifying and mitigating false positives, see Testing and tuning in the WAF Developer Guide.LOW
is generally a better choice for resources that already have other protections against SQL injection attacks or that have a low tolerance for false positives.Default:
LOW
- Parameters:
sensitivityLevel
- The sensitivity that you want WAF to use to inspect for SQL injection attacks.HIGH
detects more attacks, but might generate more false positives, especially if your web requests frequently contain unusual strings. For information about identifying and mitigating false positives, see Testing and tuning in the WAF Developer Guide.LOW
is generally a better choice for resources that already have other protections against SQL injection attacks or that have a low tolerance for false positives.Default:
LOW
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sensitivityLevel
The sensitivity that you want WAF to use to inspect for SQL injection attacks.
HIGH
detects more attacks, but might generate more false positives, especially if your web requests frequently contain unusual strings. For information about identifying and mitigating false positives, see Testing and tuning in the WAF Developer Guide.LOW
is generally a better choice for resources that already have other protections against SQL injection attacks or that have a low tolerance for false positives.Default:
LOW
- Parameters:
sensitivityLevel
- The sensitivity that you want WAF to use to inspect for SQL injection attacks.HIGH
detects more attacks, but might generate more false positives, especially if your web requests frequently contain unusual strings. For information about identifying and mitigating false positives, see Testing and tuning in the WAF Developer Guide.LOW
is generally a better choice for resources that already have other protections against SQL injection attacks or that have a low tolerance for false positives.Default:
LOW
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-