@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRegionalRuleGroupRulesDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the rules attached to a rule group
Constructor and Description |
---|
AwsWafRegionalRuleGroupRulesDetails() |
Modifier and Type | Method and Description |
---|---|
AwsWafRegionalRuleGroupRulesDetails |
clone() |
boolean |
equals(Object obj) |
AwsWafRegionalRuleGroupRulesActionDetails |
getAction()
The action that WAF should take on a web request when it matches the criteria defined in the rule.
|
Integer |
getPriority()
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of
Priority . |
String |
getRuleId()
The ID for a rule.
|
String |
getType()
The type of rule in the rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
|
void |
setPriority(Integer priority)
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of
Priority . |
void |
setRuleId(String ruleId)
The ID for a rule.
|
void |
setType(String type)
The type of rule in the rule group.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafRegionalRuleGroupRulesDetails |
withAction(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
|
AwsWafRegionalRuleGroupRulesDetails |
withPriority(Integer priority)
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of
Priority . |
AwsWafRegionalRuleGroupRulesDetails |
withRuleId(String ruleId)
The ID for a rule.
|
AwsWafRegionalRuleGroupRulesDetails |
withType(String type)
The type of rule in the rule group.
|
public void setAction(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
action
- The action that WAF should take on a web request when it matches the criteria defined in the rule.public AwsWafRegionalRuleGroupRulesActionDetails getAction()
The action that WAF should take on a web request when it matches the criteria defined in the rule.
public AwsWafRegionalRuleGroupRulesDetails withAction(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
action
- The action that WAF should take on a web request when it matches the criteria defined in the rule.public void setPriority(Integer priority)
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of Priority
.
priority
- If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based
on the value of Priority
.public Integer getPriority()
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of Priority
.
Priority
.public AwsWafRegionalRuleGroupRulesDetails withPriority(Integer priority)
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the
value of Priority
.
priority
- If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based
on the value of Priority
.public void setRuleId(String ruleId)
The ID for a rule.
ruleId
- The ID for a rule.public String getRuleId()
The ID for a rule.
public AwsWafRegionalRuleGroupRulesDetails withRuleId(String ruleId)
The ID for a rule.
ruleId
- The ID for a rule.public void setType(String type)
The type of rule in the rule group.
type
- The type of rule in the rule group.public String getType()
The type of rule in the rule group.
public AwsWafRegionalRuleGroupRulesDetails withType(String type)
The type of rule in the rule group.
type
- The type of rule in the rule group.public String toString()
toString
in class Object
Object.toString()
public AwsWafRegionalRuleGroupRulesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.