@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeManagedRuleGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeManagedRuleGroupResult() |
Modifier and Type | Method and Description |
---|---|
DescribeManagedRuleGroupResult |
clone() |
boolean |
equals(Object obj) |
List<LabelSummary> |
getAvailableLabels()
The labels that one or more rules in this rule group add to matching web ACLs.
|
Long |
getCapacity()
The web ACL capacity units (WCUs) required for this rule group.
|
List<LabelSummary> |
getConsumedLabels()
The labels that one or more rules in this rule group match against in label match statements.
|
String |
getLabelNamespace()
The label namespace prefix for this rule group.
|
List<RuleSummary> |
getRules()
|
int |
hashCode() |
void |
setAvailableLabels(Collection<LabelSummary> availableLabels)
The labels that one or more rules in this rule group add to matching web ACLs.
|
void |
setCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
|
void |
setConsumedLabels(Collection<LabelSummary> consumedLabels)
The labels that one or more rules in this rule group match against in label match statements.
|
void |
setLabelNamespace(String labelNamespace)
The label namespace prefix for this rule group.
|
void |
setRules(Collection<RuleSummary> rules)
|
String |
toString()
Returns a string representation of this object.
|
DescribeManagedRuleGroupResult |
withAvailableLabels(Collection<LabelSummary> availableLabels)
The labels that one or more rules in this rule group add to matching web ACLs.
|
DescribeManagedRuleGroupResult |
withAvailableLabels(LabelSummary... availableLabels)
The labels that one or more rules in this rule group add to matching web ACLs.
|
DescribeManagedRuleGroupResult |
withCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
|
DescribeManagedRuleGroupResult |
withConsumedLabels(Collection<LabelSummary> consumedLabels)
The labels that one or more rules in this rule group match against in label match statements.
|
DescribeManagedRuleGroupResult |
withConsumedLabels(LabelSummary... consumedLabels)
The labels that one or more rules in this rule group match against in label match statements.
|
DescribeManagedRuleGroupResult |
withLabelNamespace(String labelNamespace)
The label namespace prefix for this rule group.
|
DescribeManagedRuleGroupResult |
withRules(Collection<RuleSummary> rules)
|
DescribeManagedRuleGroupResult |
withRules(RuleSummary... rules)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group. AWS WAF uses web ACL capacity units (WCU) to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. AWS WAF calculates capacity differently for each rule type, to reflect each rule's relative cost. Rule group capacity is fixed at creation, so users can plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.
capacity
- The web ACL capacity units (WCUs) required for this rule group. AWS WAF uses web ACL capacity units (WCU)
to calculate and control the operating resources that are used to run your rules, rule groups, and web
ACLs. AWS WAF calculates capacity differently for each rule type, to reflect each rule's relative cost.
Rule group capacity is fixed at creation, so users can plan their web ACL WCU usage when they use a rule
group. The WCU limit for web ACLs is 1,500.public Long getCapacity()
The web ACL capacity units (WCUs) required for this rule group. AWS WAF uses web ACL capacity units (WCU) to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. AWS WAF calculates capacity differently for each rule type, to reflect each rule's relative cost. Rule group capacity is fixed at creation, so users can plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.
public DescribeManagedRuleGroupResult withCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group. AWS WAF uses web ACL capacity units (WCU) to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. AWS WAF calculates capacity differently for each rule type, to reflect each rule's relative cost. Rule group capacity is fixed at creation, so users can plan their web ACL WCU usage when they use a rule group. The WCU limit for web ACLs is 1,500.
capacity
- The web ACL capacity units (WCUs) required for this rule group. AWS WAF uses web ACL capacity units (WCU)
to calculate and control the operating resources that are used to run your rules, rule groups, and web
ACLs. AWS WAF calculates capacity differently for each rule type, to reflect each rule's relative cost.
Rule group capacity is fixed at creation, so users can plan their web ACL WCU usage when they use a rule
group. The WCU limit for web ACLs is 1,500.public List<RuleSummary> getRules()
public void setRules(Collection<RuleSummary> rules)
rules
- public DescribeManagedRuleGroupResult withRules(RuleSummary... rules)
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- public DescribeManagedRuleGroupResult withRules(Collection<RuleSummary> rules)
rules
- public void setLabelNamespace(String labelNamespace)
The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
labelNamespace
- The label namespace prefix for this rule group. All labels added by rules in this rule group have this
prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
public String getLabelNamespace()
The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
public DescribeManagedRuleGroupResult withLabelNamespace(String labelNamespace)
The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
labelNamespace
- The label namespace prefix for this rule group. All labels added by rules in this rule group have this
prefix.
The syntax for the label namespace prefix for a managed rule group is the following:
awswaf:managed:<vendor>:<rule group name>
:
When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
<label namespace>:<label from rule>
public List<LabelSummary> getAvailableLabels()
The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in the
RuleLabels
for a Rule.
RuleLabels
for a Rule.public void setAvailableLabels(Collection<LabelSummary> availableLabels)
The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in the
RuleLabels
for a Rule.
availableLabels
- The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in
the RuleLabels
for a Rule.public DescribeManagedRuleGroupResult withAvailableLabels(LabelSummary... availableLabels)
The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in the
RuleLabels
for a Rule.
NOTE: This method appends the values to the existing list (if any). Use
setAvailableLabels(java.util.Collection)
or withAvailableLabels(java.util.Collection)
if you
want to override the existing values.
availableLabels
- The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in
the RuleLabels
for a Rule.public DescribeManagedRuleGroupResult withAvailableLabels(Collection<LabelSummary> availableLabels)
The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in the
RuleLabels
for a Rule.
availableLabels
- The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in
the RuleLabels
for a Rule.public List<LabelSummary> getConsumedLabels()
The labels that one or more rules in this rule group match against in label match statements. These labels are
defined in a LabelMatchStatement
specification, in the Statement definition of a rule.
LabelMatchStatement
specification, in the Statement
definition of a rule.public void setConsumedLabels(Collection<LabelSummary> consumedLabels)
The labels that one or more rules in this rule group match against in label match statements. These labels are
defined in a LabelMatchStatement
specification, in the Statement definition of a rule.
consumedLabels
- The labels that one or more rules in this rule group match against in label match statements. These labels
are defined in a LabelMatchStatement
specification, in the Statement definition of a
rule.public DescribeManagedRuleGroupResult withConsumedLabels(LabelSummary... consumedLabels)
The labels that one or more rules in this rule group match against in label match statements. These labels are
defined in a LabelMatchStatement
specification, in the Statement definition of a rule.
NOTE: This method appends the values to the existing list (if any). Use
setConsumedLabels(java.util.Collection)
or withConsumedLabels(java.util.Collection)
if you want
to override the existing values.
consumedLabels
- The labels that one or more rules in this rule group match against in label match statements. These labels
are defined in a LabelMatchStatement
specification, in the Statement definition of a
rule.public DescribeManagedRuleGroupResult withConsumedLabels(Collection<LabelSummary> consumedLabels)
The labels that one or more rules in this rule group match against in label match statements. These labels are
defined in a LabelMatchStatement
specification, in the Statement definition of a rule.
consumedLabels
- The labels that one or more rules in this rule group match against in label match statements. These labels
are defined in a LabelMatchStatement
specification, in the Statement definition of a
rule.public String toString()
toString
in class Object
Object.toString()
public DescribeManagedRuleGroupResult clone()