@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRegionalWebAclRulesListDetails extends Object implements Serializable, Cloneable, StructuredPojo
A combination of ByteMatchSet
, IPSet
, and/or SqlInjectionMatchSet
objects that
identify the web requests that you want to allow, block, or count.
Constructor and Description |
---|
AwsWafRegionalWebAclRulesListDetails() |
Modifier and Type | Method and Description |
---|---|
AwsWafRegionalWebAclRulesListDetails |
clone() |
boolean |
equals(Object obj) |
AwsWafRegionalWebAclRulesListActionDetails |
getAction()
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count
the request.
|
AwsWafRegionalWebAclRulesListOverrideActionDetails |
getOverrideAction()
Overrides the rule evaluation result in the rule group.
|
Integer |
getPriority()
The order in which WAF evaluates the rules in a web ACL.
|
String |
getRuleId()
The ID of an WAF Regional rule to associate with a web ACL.
|
String |
getType()
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(AwsWafRegionalWebAclRulesListActionDetails action)
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count
the request.
|
void |
setOverrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction)
Overrides the rule evaluation result in the rule group.
|
void |
setPriority(Integer priority)
The order in which WAF evaluates the rules in a web ACL.
|
void |
setRuleId(String ruleId)
The ID of an WAF Regional rule to associate with a web ACL.
|
void |
setType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafRegionalWebAclRulesListDetails |
withAction(AwsWafRegionalWebAclRulesListActionDetails action)
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count
the request.
|
AwsWafRegionalWebAclRulesListDetails |
withOverrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction)
Overrides the rule evaluation result in the rule group.
|
AwsWafRegionalWebAclRulesListDetails |
withPriority(Integer priority)
The order in which WAF evaluates the rules in a web ACL.
|
AwsWafRegionalWebAclRulesListDetails |
withRuleId(String ruleId)
The ID of an WAF Regional rule to associate with a web ACL.
|
AwsWafRegionalWebAclRulesListDetails |
withType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
|
public AwsWafRegionalWebAclRulesListDetails()
public void setAction(AwsWafRegionalWebAclRulesListActionDetails action)
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.
action
- The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or
count the request.public AwsWafRegionalWebAclRulesListActionDetails getAction()
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.
public AwsWafRegionalWebAclRulesListDetails withAction(AwsWafRegionalWebAclRulesListActionDetails action)
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.
action
- The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or
count the request.public void setOverrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction)
Overrides the rule evaluation result in the rule group.
overrideAction
- Overrides the rule evaluation result in the rule group.public AwsWafRegionalWebAclRulesListOverrideActionDetails getOverrideAction()
Overrides the rule evaluation result in the rule group.
public AwsWafRegionalWebAclRulesListDetails withOverrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction)
Overrides the rule evaluation result in the rule group.
overrideAction
- Overrides the rule evaluation result in the rule group.public void setPriority(Integer priority)
The order in which WAF evaluates the rules in a web ACL.
priority
- The order in which WAF evaluates the rules in a web ACL.public Integer getPriority()
The order in which WAF evaluates the rules in a web ACL.
public AwsWafRegionalWebAclRulesListDetails withPriority(Integer priority)
The order in which WAF evaluates the rules in a web ACL.
priority
- The order in which WAF evaluates the rules in a web ACL.public void setRuleId(String ruleId)
The ID of an WAF Regional rule to associate with a web ACL.
ruleId
- The ID of an WAF Regional rule to associate with a web ACL.public String getRuleId()
The ID of an WAF Regional rule to associate with a web ACL.
public AwsWafRegionalWebAclRulesListDetails withRuleId(String ruleId)
The ID of an WAF Regional rule to associate with a web ACL.
ruleId
- The ID of an WAF Regional rule to associate with a web ACL.public void setType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
type
- For actions that are associated with a rule, the action that WAF takes when a web request matches all
conditions in a rule.public String getType()
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
public AwsWafRegionalWebAclRulesListDetails withType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
type
- For actions that are associated with a rule, the action that WAF takes when a web request matches all
conditions in a rule.public String toString()
toString
in class Object
Object.toString()
public AwsWafRegionalWebAclRulesListDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.