Interface RuleGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroup.Builder,
,RuleGroup> SdkBuilder<RuleGroup.Builder,
,RuleGroup> SdkPojo
- Enclosing class:
RuleGroup
-
Method Summary
Modifier and TypeMethodDescriptionmetricName
(String metricName) A friendly name or description for the metrics for thisRuleGroup
.The friendly name or description for theRuleGroup
.ruleGroupId
(String ruleGroupId) A unique identifier for aRuleGroup
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleGroupId
A unique identifier for a
RuleGroup
. You useRuleGroupId
to get more information about aRuleGroup
(see GetRuleGroup), update aRuleGroup
(see UpdateRuleGroup), insert aRuleGroup
into aWebACL
or delete a one from aWebACL
(see UpdateWebACL), or delete aRuleGroup
from AWS WAF (see DeleteRuleGroup).RuleGroupId
is returned by CreateRuleGroup and by ListRuleGroups.- Parameters:
ruleGroupId
- A unique identifier for aRuleGroup
. You useRuleGroupId
to get more information about aRuleGroup
(see GetRuleGroup), update aRuleGroup
(see UpdateRuleGroup), insert aRuleGroup
into aWebACL
or delete a one from aWebACL
(see UpdateWebACL), or delete aRuleGroup
from AWS WAF (see DeleteRuleGroup).RuleGroupId
is returned by CreateRuleGroup and by ListRuleGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The friendly name or description for the
RuleGroup
. You can't change the name of aRuleGroup
after you create it.- Parameters:
name
- The friendly name or description for theRuleGroup
. You can't change the name of aRuleGroup
after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
A friendly name or description for the metrics for this
RuleGroup
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create theRuleGroup
.- Parameters:
metricName
- A friendly name or description for the metrics for thisRuleGroup
. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create theRuleGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-