Class XssMatchSetUpdate
- java.lang.Object
-
- com.amazonaws.services.waf.model.XssMatchSetUpdate
-
- All Implemented Interfaces:
Serializable
,Cloneable
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
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XssMatchSetUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAction
public void setAction(String action)
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- See Also:
ChangeAction
-
getAction
public String getAction()
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Returns:
- Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
. - See Also:
ChangeAction
-
withAction
public XssMatchSetUpdate withAction(String action)
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- 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
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- See Also:
ChangeAction
-
withAction
public XssMatchSetUpdate withAction(ChangeAction action)
Specify
INSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Parameters:
action
- SpecifyINSERT
to add a XssMatchSetUpdate to an XssMatchSet. UseDELETE
to remove aXssMatchSetUpdate
from anXssMatchSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setXssMatchTuple
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.
- Parameters:
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.
-
getXssMatchTuple
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.
- Returns:
- 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.
-
withXssMatchTuple
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.
- Parameters:
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.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public XssMatchSetUpdate clone()
-
-