Class RuleSummary

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

public class RuleSummary extends Object implements Serializable, Cloneable

Contains the identifier and the friendly name or description of the Rule.

See Also:
  • Constructor Details

    • RuleSummary

      public RuleSummary()
  • Method Details

    • setRuleId

      public void setRuleId(String ruleId)

      A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

      RuleId is returned by CreateRule and by ListRules.

      Parameters:
      ruleId - A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

      RuleId is returned by CreateRule and by ListRules.

    • getRuleId

      public String getRuleId()

      A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

      RuleId is returned by CreateRule and by ListRules.

      Returns:
      A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

      RuleId is returned by CreateRule and by ListRules.

    • withRuleId

      public RuleSummary withRuleId(String ruleId)

      A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

      RuleId is returned by CreateRule and by ListRules.

      Parameters:
      ruleId - A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

      RuleId is returned by CreateRule and by ListRules.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

      Parameters:
      name - A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
    • getName

      public String getName()

      A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

      Returns:
      A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
    • withName

      public RuleSummary withName(String name)

      A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

      Parameters:
      name - A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
      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 RuleSummary clone()
      Overrides:
      clone in class Object