Class ByteMatchSetUpdate

java.lang.Object
com.amazonaws.services.waf.model.ByteMatchSetUpdate
All Implemented Interfaces:
Serializable, Cloneable

public class ByteMatchSetUpdate extends Object implements Serializable, Cloneable

In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple.

See Also:
  • Constructor Details

    • ByteMatchSetUpdate

      public ByteMatchSetUpdate()
  • Method Details

    • setAction

      public void setAction(String action)

      Specifies whether to insert or delete a ByteMatchTuple.

      Parameters:
      action - Specifies whether to insert or delete a ByteMatchTuple.
      See Also:
    • getAction

      public String getAction()

      Specifies whether to insert or delete a ByteMatchTuple.

      Returns:
      Specifies whether to insert or delete a ByteMatchTuple.
      See Also:
    • withAction

      public ByteMatchSetUpdate withAction(String action)

      Specifies whether to insert or delete a ByteMatchTuple.

      Parameters:
      action - Specifies whether to insert or delete a ByteMatchTuple.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setAction

      public void setAction(ChangeAction action)

      Specifies whether to insert or delete a ByteMatchTuple.

      Parameters:
      action - Specifies whether to insert or delete a ByteMatchTuple.
      See Also:
    • withAction

      public ByteMatchSetUpdate withAction(ChangeAction action)

      Specifies whether to insert or delete a ByteMatchTuple.

      Parameters:
      action - Specifies whether to insert or delete a ByteMatchTuple.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setByteMatchTuple

      public void setByteMatchTuple(ByteMatchTuple byteMatchTuple)

      Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

      Parameters:
      byteMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
    • getByteMatchTuple

      public ByteMatchTuple getByteMatchTuple()

      Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

      Returns:
      Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
    • withByteMatchTuple

      public ByteMatchSetUpdate withByteMatchTuple(ByteMatchTuple byteMatchTuple)

      Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

      Parameters:
      byteMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.
      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 ByteMatchSetUpdate clone()
      Overrides:
      clone in class Object