public class XssMatchSetUpdate extends Object implements Serializable, 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.
| Constructor and Description |
|---|
XssMatchSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
XssMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
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(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
XssMatchSetUpdate |
withAction(ChangeAction action)
|
XssMatchSetUpdate |
withAction(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.
|
public void setAction(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.ChangeActionpublic 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.ChangeActionpublic XssMatchSetUpdate withAction(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.ChangeActionpublic 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.ChangeActionpublic 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.ChangeActionpublic 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 String toString()
toString in class ObjectObject.toString()public XssMatchSetUpdate clone()
Copyright © 2016. All rights reserved.