Class SqlInjectionMatchSet
- java.lang.Object
-
- com.amazonaws.services.waf.model.SqlInjectionMatchSet
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SqlInjectionMatchSet extends Object implements Serializable, Cloneable
A complex type that contains
SqlInjectionMatchTupleobjects, 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 aSqlInjectionMatchSetcontains more than oneSqlInjectionMatchTupleobject, 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqlInjectionMatchSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlInjectionMatchSetclone()booleanequals(Object obj)StringgetName()The name, if any, of theSqlInjectionMatchSet.StringgetSqlInjectionMatchSetId()A unique identifier for aSqlInjectionMatchSet.List<SqlInjectionMatchTuple>getSqlInjectionMatchTuples()Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.inthashCode()voidsetName(String name)The name, if any, of theSqlInjectionMatchSet.voidsetSqlInjectionMatchSetId(String sqlInjectionMatchSetId)A unique identifier for aSqlInjectionMatchSet.voidsetSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples)Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.StringtoString()Returns a string representation of this object; useful for testing and debugging.SqlInjectionMatchSetwithName(String name)The name, if any, of theSqlInjectionMatchSet.SqlInjectionMatchSetwithSqlInjectionMatchSetId(String sqlInjectionMatchSetId)A unique identifier for aSqlInjectionMatchSet.SqlInjectionMatchSetwithSqlInjectionMatchTuples(SqlInjectionMatchTuple... sqlInjectionMatchTuples)Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.SqlInjectionMatchSetwithSqlInjectionMatchTuples(Collection<SqlInjectionMatchTuple> sqlInjectionMatchTuples)Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.
-
-
-
Method Detail
-
setSqlInjectionMatchSetId
public void setSqlInjectionMatchSetId(String sqlInjectionMatchSetId)
A unique identifier for a
SqlInjectionMatchSet. You useSqlInjectionMatchSetIdto get information about aSqlInjectionMatchSet(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSqlInjectionMatchSetfrom AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetIdis returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Parameters:
sqlInjectionMatchSetId- A unique identifier for aSqlInjectionMatchSet. You useSqlInjectionMatchSetIdto get information about aSqlInjectionMatchSet(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSqlInjectionMatchSetfrom AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetIdis returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
-
getSqlInjectionMatchSetId
public String getSqlInjectionMatchSetId()
A unique identifier for a
SqlInjectionMatchSet. You useSqlInjectionMatchSetIdto get information about aSqlInjectionMatchSet(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSqlInjectionMatchSetfrom AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetIdis returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Returns:
- A unique identifier for a
SqlInjectionMatchSet. You useSqlInjectionMatchSetIdto get information about aSqlInjectionMatchSet(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSqlInjectionMatchSetfrom AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetIdis returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
-
withSqlInjectionMatchSetId
public SqlInjectionMatchSet withSqlInjectionMatchSetId(String sqlInjectionMatchSetId)
A unique identifier for a
SqlInjectionMatchSet. You useSqlInjectionMatchSetIdto get information about aSqlInjectionMatchSet(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSqlInjectionMatchSetfrom AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetIdis returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Parameters:
sqlInjectionMatchSetId- A unique identifier for aSqlInjectionMatchSet. You useSqlInjectionMatchSetIdto get information about aSqlInjectionMatchSet(see GetSqlInjectionMatchSet), update aSqlInjectionMatchSet(see UpdateSqlInjectionMatchSet), insert aSqlInjectionMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSqlInjectionMatchSetfrom AWS WAF (see DeleteSqlInjectionMatchSet).SqlInjectionMatchSetIdis returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The name, if any, of the
SqlInjectionMatchSet.- Parameters:
name- The name, if any, of theSqlInjectionMatchSet.
-
getName
public String getName()
The name, if any, of the
SqlInjectionMatchSet.- Returns:
- The name, if any, of the
SqlInjectionMatchSet.
-
withName
public SqlInjectionMatchSet withName(String name)
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
public List<SqlInjectionMatchTuple> 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
public void setSqlInjectionMatchTuples(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.
-
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SqlInjectionMatchSet clone()
-
-