@Generated(value="software.amazon.awssdk:codegen") public final class SqliMatchStatement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SqliMatchStatement.Builder,SqliMatchStatement>
Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your database. To allow or block web requests that appear to contain malicious SQL code, create one or more SQL injection match conditions. An SQL injection match condition identifies the part of web requests, such as the URI or the query string, that you want AWS WAF to inspect. Later in the process, when you create a web ACL, you specify whether to allow or block requests that appear to contain malicious SQL code.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SqliMatchStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SqliMatchStatement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FieldToMatch |
fieldToMatch()
The part of a web request that you want AWS WAF to inspect.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTextTransformations()
Returns true if the TextTransformations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SqliMatchStatement.Builder> |
serializableBuilderClass() |
List<TextTransformation> |
textTransformations()
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to
bypass detection.
|
SqliMatchStatement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FieldToMatch fieldToMatch()
The part of a web request that you want AWS WAF to inspect. For more information, see FieldToMatch.
public final boolean hasTextTransformations()
public final List<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, 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTextTransformations() to see if a value was sent in this field.
FieldToMatch, starting from the lowest priority setting, before inspecting the content for a
match.public SqliMatchStatement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SqliMatchStatement.Builder,SqliMatchStatement>public static SqliMatchStatement.Builder builder()
public static Class<? extends SqliMatchStatement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.