Class GetRuleResult

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

public class GetRuleResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • GetRuleResult

      public GetRuleResult()
  • Method Details

    • setRule

      public void setRule(Rule rule)

      Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
      • Predicate: Each Predicate object contains DataId, Negated, and Type
      Parameters:
      rule - Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
      • Predicate: Each Predicate object contains DataId, Negated, and Type
    • getRule

      public Rule getRule()

      Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
      • Predicate: Each Predicate object contains DataId, Negated, and Type
      Returns:
      Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
      • Predicate: Each Predicate object contains DataId, Negated, and Type
    • withRule

      public GetRuleResult withRule(Rule rule)

      Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
      • Predicate: Each Predicate object contains DataId, Negated, and Type
      Parameters:
      rule - Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

      • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
      • Predicate: Each Predicate object contains DataId, Negated, and Type
      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 GetRuleResult clone()
      Overrides:
      clone in class Object