public class SqlInjectionMatchSetUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.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
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action
|
private 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 and Description |
---|
SqlInjectionMatchSetUpdate() |
Modifier and Type | Method and Description |
---|---|
SqlInjectionMatchSetUpdate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAction()
|
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.
|
int |
hashCode() |
void |
setAction(ChangeAction action)
|
void |
setAction(java.lang.String action)
|
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SqlInjectionMatchSetUpdate |
withAction(ChangeAction action)
|
SqlInjectionMatchSetUpdate |
withAction(java.lang.String action)
|
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.
|
private java.lang.String action
Specify INSERT
to add a SqlInjectionMatchSetUpdate to
a SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.
private 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.
public void setAction(java.lang.String action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to
a SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.
action
- Specify INSERT
to add a
SqlInjectionMatchSetUpdate to a
SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public java.lang.String getAction()
Specify INSERT
to add a SqlInjectionMatchSetUpdate to
a SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.
INSERT
to add a
SqlInjectionMatchSetUpdate to a
SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public SqlInjectionMatchSetUpdate withAction(java.lang.String action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to
a SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.
action
- Specify INSERT
to add a
SqlInjectionMatchSetUpdate to a
SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public void setAction(ChangeAction action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to
a SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.
action
- Specify INSERT
to add a
SqlInjectionMatchSetUpdate to a
SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
public SqlInjectionMatchSetUpdate withAction(ChangeAction action)
Specify INSERT
to add a SqlInjectionMatchSetUpdate to
a SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.
action
- Specify INSERT
to add a
SqlInjectionMatchSetUpdate to a
SqlInjectionMatchSet. Use DELETE
to remove a
SqlInjectionMatchSetUpdate
from a
SqlInjectionMatchSet
.ChangeAction
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.
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.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.
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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SqlInjectionMatchSetUpdate clone()
clone
in class java.lang.Object