Class WebACLUpdate

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

public class WebACLUpdate extends Object implements Serializable, Cloneable

Specifies whether to insert a Rule into or delete a Rule from a WebACL.

See Also:
  • Constructor Details

    • WebACLUpdate

      public WebACLUpdate()
  • Method Details

    • setAction

      public void setAction(String action)

      Specifies whether to insert a Rule into or delete a Rule from a WebACL.

      Parameters:
      action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      See Also:
    • getAction

      public String getAction()

      Specifies whether to insert a Rule into or delete a Rule from a WebACL.

      Returns:
      Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      See Also:
    • withAction

      public WebACLUpdate withAction(String action)

      Specifies whether to insert a Rule into or delete a Rule from a WebACL.

      Parameters:
      action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      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 a Rule into or delete a Rule from a WebACL.

      Parameters:
      action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      See Also:
    • withAction

      public WebACLUpdate withAction(ChangeAction action)

      Specifies whether to insert a Rule into or delete a Rule from a WebACL.

      Parameters:
      action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setActivatedRule

      public void setActivatedRule(ActivatedRule activatedRule)
      Parameters:
      activatedRule -
    • getActivatedRule

      public ActivatedRule getActivatedRule()
      Returns:
    • withActivatedRule

      public WebACLUpdate withActivatedRule(ActivatedRule activatedRule)
      Parameters:
      activatedRule -
      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 WebACLUpdate clone()
      Overrides:
      clone in class Object