@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 requests.
|
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()
|
String |
getSnsTopicArn()
The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide
notification of changes to the managed rule group.
|
String |
getVersionName()
The managed rule group's version.
|
int |
hashCode() |
void |
setAvailableLabels(Collection<LabelSummary> availableLabels)
The labels that one or more rules in this rule group add to matching web requests.
|
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)
|
void |
setSnsTopicArn(String snsTopicArn)
The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide
notification of changes to the managed rule group.
|
void |
setVersionName(String versionName)
The managed rule group's version.
|
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 requests.
|
DescribeManagedRuleGroupResult |
withAvailableLabels(LabelSummary... availableLabels)
The labels that one or more rules in this rule group add to matching web requests.
|
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)
|
DescribeManagedRuleGroupResult |
withSnsTopicArn(String snsTopicArn)
The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide
notification of changes to the managed rule group.
|
DescribeManagedRuleGroupResult |
withVersionName(String versionName)
The managed rule group's version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVersionName(String versionName)
The managed rule group's version.
versionName
- The managed rule group's version.public String getVersionName()
The managed rule group's version.
public DescribeManagedRuleGroupResult withVersionName(String versionName)
The managed rule group's version.
versionName
- The managed rule group's version.public void setSnsTopicArn(String snsTopicArn)
The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide.
snsTopicArn
- The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide
notification of changes to the managed rule group. You can subscribe to the SNS topic to receive
notifications when the managed rule group is modified, such as for new versions and for version
expiration. For more information, see the Amazon Simple Notification Service Developer
Guide.public String getSnsTopicArn()
The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide.
public DescribeManagedRuleGroupResult withSnsTopicArn(String snsTopicArn)
The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide.
snsTopicArn
- The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide
notification of changes to the managed rule group. You can subscribe to the SNS topic to receive
notifications when the managed rule group is modified, such as for new versions and for version
expiration. For more information, see the Amazon Simple Notification Service Developer
Guide.public void setCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
capacity
- The web ACL capacity units (WCUs) required for this rule group.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
public Long getCapacity()
The web ACL capacity units (WCUs) required for this rule group.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
public DescribeManagedRuleGroupResult withCapacity(Long capacity)
The web ACL capacity units (WCUs) required for this rule group.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
capacity
- The web ACL capacity units (WCUs) required for this rule group.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.
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, 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, 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, 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, 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, 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, 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 requests. 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 requests. 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 requests. 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 requests. 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 requests. 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 requests. 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 requests. 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()