Class SqlInjectionMatchSetUpdate
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.int
hashCode()
void
setAction
(ChangeAction action) void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAction
(ChangeAction action) withAction
(String action) 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.
-
Constructor Details
-
SqlInjectionMatchSetUpdate
public SqlInjectionMatchSetUpdate()
-
-
Method Details
-
setAction
Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- See Also:
-
getAction
Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Returns:
- Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
. - See Also:
-
withAction
Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- See Also:
-
withAction
Specify
INSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. UseDELETE
to remove aSqlInjectionMatchSetUpdate
from aSqlInjectionMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSqlInjectionMatchTuple
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-