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:
  • Constructor Details

    • XssMatchSetUpdate

      public XssMatchSetUpdate()
  • Method Details

    • setAction

      public void setAction(String action)

      Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.

      Parameters:
      action - Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.
      See Also:
    • getAction

      public String getAction()

      Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.

      Returns:
      Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.
      See Also:
    • withAction

      public XssMatchSetUpdate withAction(String action)

      Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.

      Parameters:
      action - Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setAction

      public void setAction(ChangeAction action)

      Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.

      Parameters:
      action - Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.
      See Also:
    • withAction

      public XssMatchSetUpdate withAction(ChangeAction action)

      Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.

      Parameters:
      action - Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove a XssMatchSetUpdate from an XssMatchSet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public XssMatchSetUpdate clone()
      Overrides:
      clone in class Object