@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains the identifier and the friendly name or description of the Rule
.
Constructor and Description |
---|
RuleSummary() |
Modifier and Type | Method and Description |
---|---|
RuleSummary |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A friendly name or description of the Rule.
|
String |
getRuleId()
A unique identifier for a
Rule . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
A friendly name or description of the Rule.
|
void |
setRuleId(String ruleId)
A unique identifier for a
Rule . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RuleSummary |
withName(String name)
A friendly name or description of the Rule.
|
RuleSummary |
withRuleId(String ruleId)
A unique identifier for a
Rule . |
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.
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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public RuleSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.