Class SqlInjectionMatchSetUpdate
- java.lang.Object
-
- com.amazonaws.services.waf.model.SqlInjectionMatchSetUpdate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SqlInjectionMatchSetUpdate extends Object implements Serializable, Cloneable
Specifies the part of a web request that you want to inspect for snippets of malicious SQL code and indicates whether you want to add the specification to a SqlInjectionMatchSet or delete it from a
SqlInjectionMatchSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqlInjectionMatchSetUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlInjectionMatchSetUpdateclone()booleanequals(Object obj)StringgetAction()SqlInjectionMatchTuplegetSqlInjectionMatchTuple()Specifies the part of a web request 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.inthashCode()voidsetAction(ChangeAction action)voidsetAction(String action)voidsetSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)Specifies the part of a web request 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.StringtoString()Returns a string representation of this object; useful for testing and debugging.SqlInjectionMatchSetUpdatewithAction(ChangeAction action)SqlInjectionMatchSetUpdatewithAction(String action)SqlInjectionMatchSetUpdatewithSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)Specifies the part of a web request 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.
-
-
-
Method Detail
-
setAction
public void setAction(String action)
Specify
INSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Parameters:
action- SpecifyINSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- See Also:
ChangeAction
-
getAction
public String getAction()
Specify
INSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Returns:
- Specify
INSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet. - See Also:
ChangeAction
-
withAction
public SqlInjectionMatchSetUpdate withAction(String action)
Specify
INSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Parameters:
action- SpecifyINSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setAction
public void setAction(ChangeAction action)
Specify
INSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Parameters:
action- SpecifyINSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- See Also:
ChangeAction
-
withAction
public SqlInjectionMatchSetUpdate withAction(ChangeAction action)
Specify
INSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Parameters:
action- SpecifyINSERTto add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETEto remove aSqlInjectionMatchSetUpdatefrom aSqlInjectionMatchSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setSqlInjectionMatchTuple
public void setSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)
Specifies the part of a web request 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.
- Parameters:
sqlInjectionMatchTuple- Specifies the part of a web request 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.
-
getSqlInjectionMatchTuple
public SqlInjectionMatchTuple getSqlInjectionMatchTuple()
Specifies the part of a web request 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.
- Returns:
- Specifies the part of a web request 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.
-
withSqlInjectionMatchTuple
public SqlInjectionMatchSetUpdate withSqlInjectionMatchTuple(SqlInjectionMatchTuple sqlInjectionMatchTuple)
Specifies the part of a web request 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.
- Parameters:
sqlInjectionMatchTuple- Specifies the part of a web request 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.- 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 SqlInjectionMatchSetUpdate clone()
-
-