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 XssMatchSetUpdateclone()booleanequals(Object obj)StringgetAction()XssMatchTuplegetXssMatchTuple()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.inthashCode()voidsetAction(ChangeAction action)voidsetAction(String action)voidsetXssMatchTuple(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.XssMatchSetUpdatewithAction(ChangeAction action)XssMatchSetUpdatewithAction(String action)XssMatchSetUpdatewithXssMatchTuple(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
INSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- Parameters:
action- SpecifyINSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- See Also:
ChangeAction
-
getAction
public String getAction()
Specify
INSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- Returns:
- Specify
INSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet. - See Also:
ChangeAction
-
withAction
public XssMatchSetUpdate withAction(String action)
Specify
INSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- Parameters:
action- SpecifyINSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom 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
INSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- Parameters:
action- SpecifyINSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- See Also:
ChangeAction
-
withAction
public XssMatchSetUpdate withAction(ChangeAction action)
Specify
INSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom anXssMatchSet.- Parameters:
action- SpecifyINSERTto add a XssMatchSetUpdate to an XssMatchSet. UseDELETEto remove aXssMatchSetUpdatefrom 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public XssMatchSetUpdate clone()
-
-