public class RuleSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the identifier and the friendly name or description of the
Rule
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
A friendly name or description of the Rule.
|
private java.lang.String |
ruleId
A unique identifier for a
Rule . |
Constructor and Description |
---|
RuleSummary() |
Modifier and Type | Method and Description |
---|---|
RuleSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
A friendly name or description of the Rule.
|
java.lang.String |
getRuleId()
A unique identifier for a
Rule . |
int |
hashCode() |
void |
setName(java.lang.String name)
A friendly name or description of the Rule.
|
void |
setRuleId(java.lang.String ruleId)
A unique identifier for a
Rule . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RuleSummary |
withName(java.lang.String name)
A friendly name or description of the Rule.
|
RuleSummary |
withRuleId(java.lang.String ruleId)
A unique identifier for a
Rule . |
private java.lang.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.
private java.lang.String name
A friendly name or description of the Rule. You can't change the
name of a Rule
after you create it.
public void setRuleId(java.lang.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.
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.
public java.lang.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.
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.
public RuleSummary withRuleId(java.lang.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.
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.
public void setName(java.lang.String name)
A friendly name or description of the Rule. You can't change the
name of a Rule
after you create it.
name
- A friendly name or description of the Rule. You can't
change the name of a Rule
after you create it.public java.lang.String getName()
A friendly name or description of the Rule. You can't change the
name of a Rule
after you create it.
Rule
after you create it.public RuleSummary withName(java.lang.String name)
A friendly name or description of the Rule. You can't change the
name of a Rule
after you create it.
name
- A friendly name or description of the Rule. You can't
change the name of a Rule
after you create it.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RuleSummary clone()
clone
in class java.lang.Object