Class SqlInjectionMatchSet
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains SqlInjectionMatchTuple
objects,
which specify the parts of web requests that you want AWS WAF to inspect for
snippets of malicious SQL code and, if you want AWS WAF to inspect a header,
the name of the header. If a SqlInjectionMatchSet
contains more
than one SqlInjectionMatchTuple
object, a request needs to
include snippets of SQL code in only one of the specified parts of the
request to be considered a match.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getName()
The name, if any, of theSqlInjectionMatchSet
.A unique identifier for aSqlInjectionMatchSet
.Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.int
hashCode()
void
The name, if any, of theSqlInjectionMatchSet
.void
setSqlInjectionMatchSetId
(String sqlInjectionMatchSetId) A unique identifier for aSqlInjectionMatchSet
.void
setSqlInjectionMatchTuples
(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.toString()
Returns a string representation of this object; useful for testing and debugging.The name, if any, of theSqlInjectionMatchSet
.withSqlInjectionMatchSetId
(String sqlInjectionMatchSetId) A unique identifier for aSqlInjectionMatchSet
.withSqlInjectionMatchTuples
(SqlInjectionMatchTuple... sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.withSqlInjectionMatchTuples
(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
-
Constructor Details
-
SqlInjectionMatchSet
public SqlInjectionMatchSet()
-
-
Method Details
-
setSqlInjectionMatchSetId
A unique identifier for a
SqlInjectionMatchSet
. You useSqlInjectionMatchSetId
to get information about aSqlInjectionMatchSet
(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet
(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSqlInjectionMatchSet
from AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetId
is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Parameters:
sqlInjectionMatchSetId
- A unique identifier for aSqlInjectionMatchSet
. You useSqlInjectionMatchSetId
to get information about aSqlInjectionMatchSet
(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet
(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSqlInjectionMatchSet
from AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetId
is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
-
getSqlInjectionMatchSetId
A unique identifier for a
SqlInjectionMatchSet
. You useSqlInjectionMatchSetId
to get information about aSqlInjectionMatchSet
(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet
(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSqlInjectionMatchSet
from AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetId
is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Returns:
- A unique identifier for a
SqlInjectionMatchSet
. You useSqlInjectionMatchSetId
to get information about aSqlInjectionMatchSet
(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet
(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSqlInjectionMatchSet
from AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetId
is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
-
withSqlInjectionMatchSetId
A unique identifier for a
SqlInjectionMatchSet
. You useSqlInjectionMatchSetId
to get information about aSqlInjectionMatchSet
(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet
(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSqlInjectionMatchSet
from AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetId
is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Parameters:
sqlInjectionMatchSetId
- A unique identifier for aSqlInjectionMatchSet
. You useSqlInjectionMatchSetId
to get information about aSqlInjectionMatchSet
(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet
(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSqlInjectionMatchSet
from AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetId
is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name, if any, of the
SqlInjectionMatchSet
.- Parameters:
name
- The name, if any, of theSqlInjectionMatchSet
.
-
getName
The name, if any, of the
SqlInjectionMatchSet
.- Returns:
- The name, if any, of the
SqlInjectionMatchSet
.
-
withName
The name, if any, of the
SqlInjectionMatchSet
.- Parameters:
name
- The name, if any, of theSqlInjectionMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSqlInjectionMatchTuples
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
- Returns:
- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
-
setSqlInjectionMatchTuples
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
- Parameters:
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
-
withSqlInjectionMatchTuples
public SqlInjectionMatchSet withSqlInjectionMatchTuples(SqlInjectionMatchTuple... sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
NOTE: This method appends the values to the existing list (if any). Use
setSqlInjectionMatchTuples(java.util.Collection)
orwithSqlInjectionMatchTuples(java.util.Collection)
if you want to override the existing values.- Parameters:
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSqlInjectionMatchTuples
public SqlInjectionMatchSet withSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples) Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
- Parameters:
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-