@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExcludedRule extends Object implements Serializable, Cloneable, StructuredPojo
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The rule to exclude from a rule group. This is applicable only when the ActivatedRule
refers to a
RuleGroup
. The rule must belong to the RuleGroup
that is specified by the
ActivatedRule
.
Constructor and Description |
---|
ExcludedRule() |
Modifier and Type | Method and Description |
---|---|
ExcludedRule |
clone() |
boolean |
equals(Object obj) |
String |
getRuleId()
The unique identifier for the rule to exclude from the rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRuleId(String ruleId)
The unique identifier for the rule to exclude from the rule group.
|
String |
toString()
Returns a string representation of this object.
|
ExcludedRule |
withRuleId(String ruleId)
The unique identifier for the rule to exclude from the rule group.
|
public void setRuleId(String ruleId)
The unique identifier for the rule to exclude from the rule group.
ruleId
- The unique identifier for the rule to exclude from the rule group.public String getRuleId()
The unique identifier for the rule to exclude from the rule group.
public ExcludedRule withRuleId(String ruleId)
The unique identifier for the rule to exclude from the rule group.
ruleId
- The unique identifier for the rule to exclude from the rule group.public String toString()
toString
in class Object
Object.toString()
public ExcludedRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.