public class XssMatchSetUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies the part of a web request that you want to inspect for cross-site
scripting attacks and indicates whether you want to add the specification to
an XssMatchSet or delete it from an XssMatchSet
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action
|
private XssMatchTuple |
xssMatchTuple
Specifies the part of a web request that you want AWS WAF to inspect for
cross-site scripting attacks and, if you want AWS WAF to inspect a
header, the name of the header.
|
Constructor and Description |
---|
XssMatchSetUpdate() |
Modifier and Type | Method and Description |
---|---|
XssMatchSetUpdate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAction()
|
XssMatchTuple |
getXssMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for
cross-site scripting attacks 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 |
setXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for
cross-site scripting attacks 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.
|
XssMatchSetUpdate |
withAction(ChangeAction action)
|
XssMatchSetUpdate |
withAction(java.lang.String action)
|
XssMatchSetUpdate |
withXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for
cross-site scripting attacks 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 XssMatchSetUpdate to an
XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.
private XssMatchTuple xssMatchTuple
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks 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 XssMatchSetUpdate to an
XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add a XssMatchSetUpdate to
an XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public java.lang.String getAction()
Specify INSERT
to add a XssMatchSetUpdate to an
XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.
INSERT
to add a XssMatchSetUpdate to
an XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public XssMatchSetUpdate withAction(java.lang.String action)
Specify INSERT
to add a XssMatchSetUpdate to an
XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add a XssMatchSetUpdate to
an XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public void setAction(ChangeAction action)
Specify INSERT
to add a XssMatchSetUpdate to an
XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add a XssMatchSetUpdate to
an XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public XssMatchSetUpdate withAction(ChangeAction action)
Specify INSERT
to add a XssMatchSetUpdate to an
XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.
action
- Specify INSERT
to add a XssMatchSetUpdate to
an XssMatchSet. Use DELETE
to remove a
XssMatchSetUpdate
from an XssMatchSet
.ChangeAction
public void setXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
xssMatchTuple
- Specifies the part of a web request that you want AWS WAF to
inspect for cross-site scripting attacks and, if you want AWS WAF
to inspect a header, the name of the header.public XssMatchTuple getXssMatchTuple()
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
public XssMatchSetUpdate withXssMatchTuple(XssMatchTuple xssMatchTuple)
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
xssMatchTuple
- Specifies the part of a web request that you want AWS WAF to
inspect for cross-site scripting attacks 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 XssMatchSetUpdate clone()
clone
in class java.lang.Object