Class RuleSummary
- All Implemented Interfaces:
Serializable,Cloneable
Contains the identifier and the friendly name or description of the
Rule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()A friendly name or description of the Rule.A unique identifier for aRule.inthashCode()voidA friendly name or description of the Rule.voidA unique identifier for aRule.toString()Returns a string representation of this object; useful for testing and debugging.A friendly name or description of the Rule.withRuleId(String ruleId) A unique identifier for aRule.
-
Constructor Details
-
RuleSummary
public RuleSummary()
-
-
Method Details
-
setRuleId
A unique identifier for a
Rule. You useRuleIdto get more information about aRule(see GetRule), update aRule(see UpdateRule), insert aRuleinto aWebACLor delete one from aWebACL(see UpdateWebACL), or delete aRulefrom AWS WAF (see DeleteRule).RuleIdis returned by CreateRule and by ListRules.- Parameters:
ruleId- A unique identifier for aRule. You useRuleIdto get more information about aRule(see GetRule), update aRule(see UpdateRule), insert aRuleinto aWebACLor delete one from aWebACL(see UpdateWebACL), or delete aRulefrom AWS WAF (see DeleteRule).RuleIdis returned by CreateRule and by ListRules.
-
getRuleId
A unique identifier for a
Rule. You useRuleIdto get more information about aRule(see GetRule), update aRule(see UpdateRule), insert aRuleinto aWebACLor delete one from aWebACL(see UpdateWebACL), or delete aRulefrom AWS WAF (see DeleteRule).RuleIdis returned by CreateRule and by ListRules.- Returns:
- A unique identifier for a
Rule. You useRuleIdto get more information about aRule(see GetRule), update aRule(see UpdateRule), insert aRuleinto aWebACLor delete one from aWebACL(see UpdateWebACL), or delete aRulefrom AWS WAF (see DeleteRule).RuleIdis returned by CreateRule and by ListRules.
-
withRuleId
A unique identifier for a
Rule. You useRuleIdto get more information about aRule(see GetRule), update aRule(see UpdateRule), insert aRuleinto aWebACLor delete one from aWebACL(see UpdateWebACL), or delete aRulefrom AWS WAF (see DeleteRule).RuleIdis returned by CreateRule and by ListRules.- Parameters:
ruleId- A unique identifier for aRule. You useRuleIdto get more information about aRule(see GetRule), update aRule(see UpdateRule), insert aRuleinto aWebACLor delete one from aWebACL(see UpdateWebACL), or delete aRulefrom AWS WAF (see DeleteRule).RuleIdis returned by CreateRule and by ListRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
A friendly name or description of the Rule. You can't change the name of a
Ruleafter you create it.- Parameters:
name- A friendly name or description of the Rule. You can't change the name of aRuleafter you create it.
-
getName
A friendly name or description of the Rule. You can't change the name of a
Ruleafter you create it.- Returns:
- A friendly name or description of the Rule. You can't
change the name of a
Ruleafter you create it.
-
withName
A friendly name or description of the Rule. You can't change the name of a
Ruleafter you create it.- Parameters:
name- A friendly name or description of the Rule. You can't change the name of aRuleafter you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-