public class SqlInjectionMatchSet extends Object implements 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.
Constructor and Description |
---|
SqlInjectionMatchSet() |
Modifier and Type | Method and Description |
---|---|
SqlInjectionMatchSet |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name, if any, of the
SqlInjectionMatchSet . |
String |
getSqlInjectionMatchSetId()
A unique identifier for a
SqlInjectionMatchSet . |
List<SqlInjectionMatchTuple> |
getSqlInjectionMatchTuples()
Specifies the parts of web requests that you want to inspect for snippets
of malicious SQL code.
|
int |
hashCode() |
void |
setName(String name)
The name, if any, of the
SqlInjectionMatchSet . |
void |
setSqlInjectionMatchSetId(String sqlInjectionMatchSetId)
A unique identifier for a
SqlInjectionMatchSet . |
void |
setSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples)
Specifies the parts of web requests that you want to inspect for snippets
of malicious SQL code.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SqlInjectionMatchSet |
withName(String name)
The name, if any, of the
SqlInjectionMatchSet . |
SqlInjectionMatchSet |
withSqlInjectionMatchSetId(String sqlInjectionMatchSetId)
A unique identifier for a
SqlInjectionMatchSet . |
SqlInjectionMatchSet |
withSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples)
Specifies the parts of web requests that you want to inspect for snippets
of malicious SQL code.
|
SqlInjectionMatchSet |
withSqlInjectionMatchTuples(SqlInjectionMatchTuple... sqlInjectionMatchTuples)
Specifies the parts of web requests that you want to inspect for snippets
of malicious SQL code.
|
public void setSqlInjectionMatchSetId(String sqlInjectionMatchSetId)
A unique identifier for a SqlInjectionMatchSet
. You use
SqlInjectionMatchSetId
to get information about a
SqlInjectionMatchSet
(see GetSqlInjectionMatchSet),
update a SqlInjectionMatchSet
(see
UpdateSqlInjectionMatchSet), insert a
SqlInjectionMatchSet
into a Rule
or delete one
from a Rule
(see UpdateRule), and delete a
SqlInjectionMatchSet
from AWS WAF (see
DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by
ListSqlInjectionMatchSets.
sqlInjectionMatchSetId
- A unique identifier for a SqlInjectionMatchSet
. You
use SqlInjectionMatchSetId
to get information about a
SqlInjectionMatchSet
(see
GetSqlInjectionMatchSet), update a
SqlInjectionMatchSet
(see
UpdateSqlInjectionMatchSet), insert a
SqlInjectionMatchSet
into a Rule
or
delete one from a Rule
(see UpdateRule), and
delete a SqlInjectionMatchSet
from AWS WAF (see
DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by
ListSqlInjectionMatchSets.
public String getSqlInjectionMatchSetId()
A unique identifier for a SqlInjectionMatchSet
. You use
SqlInjectionMatchSetId
to get information about a
SqlInjectionMatchSet
(see GetSqlInjectionMatchSet),
update a SqlInjectionMatchSet
(see
UpdateSqlInjectionMatchSet), insert a
SqlInjectionMatchSet
into a Rule
or delete one
from a Rule
(see UpdateRule), and delete a
SqlInjectionMatchSet
from AWS WAF (see
DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by
ListSqlInjectionMatchSets.
SqlInjectionMatchSet
. You
use SqlInjectionMatchSetId
to get information about
a SqlInjectionMatchSet
(see
GetSqlInjectionMatchSet), update a
SqlInjectionMatchSet
(see
UpdateSqlInjectionMatchSet), insert a
SqlInjectionMatchSet
into a Rule
or
delete one from a Rule
(see UpdateRule), and
delete a SqlInjectionMatchSet
from AWS WAF (see
DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by
ListSqlInjectionMatchSets.
public SqlInjectionMatchSet withSqlInjectionMatchSetId(String sqlInjectionMatchSetId)
A unique identifier for a SqlInjectionMatchSet
. You use
SqlInjectionMatchSetId
to get information about a
SqlInjectionMatchSet
(see GetSqlInjectionMatchSet),
update a SqlInjectionMatchSet
(see
UpdateSqlInjectionMatchSet), insert a
SqlInjectionMatchSet
into a Rule
or delete one
from a Rule
(see UpdateRule), and delete a
SqlInjectionMatchSet
from AWS WAF (see
DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by
ListSqlInjectionMatchSets.
sqlInjectionMatchSetId
- A unique identifier for a SqlInjectionMatchSet
. You
use SqlInjectionMatchSetId
to get information about a
SqlInjectionMatchSet
(see
GetSqlInjectionMatchSet), update a
SqlInjectionMatchSet
(see
UpdateSqlInjectionMatchSet), insert a
SqlInjectionMatchSet
into a Rule
or
delete one from a Rule
(see UpdateRule), and
delete a SqlInjectionMatchSet
from AWS WAF (see
DeleteSqlInjectionMatchSet).
SqlInjectionMatchSetId
is returned by
CreateSqlInjectionMatchSet and by
ListSqlInjectionMatchSets.
public void setName(String name)
The name, if any, of the SqlInjectionMatchSet
.
name
- The name, if any, of the SqlInjectionMatchSet
.public String getName()
The name, if any, of the SqlInjectionMatchSet
.
SqlInjectionMatchSet
.public SqlInjectionMatchSet withName(String name)
The name, if any, of the SqlInjectionMatchSet
.
name
- The name, if any, of the SqlInjectionMatchSet
.public List<SqlInjectionMatchTuple> getSqlInjectionMatchTuples()
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
public void setSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples)
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for
snippets of malicious SQL code.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)
or
withSqlInjectionMatchTuples(java.util.Collection)
if you want to
override the existing values.
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for
snippets of malicious SQL code.public SqlInjectionMatchSet withSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples)
Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
sqlInjectionMatchTuples
- Specifies the parts of web requests that you want to inspect for
snippets of malicious SQL code.public String toString()
toString
in class Object
Object.toString()
public SqlInjectionMatchSet clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.