Interface RuleGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroup.Builder,RuleGroup>,SdkBuilder<RuleGroup.Builder,RuleGroup>,SdkPojo
- Enclosing class:
- RuleGroup
public static interface RuleGroup.Builder extends SdkPojo, CopyableBuilder<RuleGroup.Builder,RuleGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleGroup.BuildermetricName(String metricName)A friendly name or description for the metrics for thisRuleGroup.RuleGroup.Buildername(String name)The friendly name or description for theRuleGroup.RuleGroup.BuilderruleGroupId(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, sdkFields
-
-
-
-
Method Detail
-
ruleGroupId
RuleGroup.Builder ruleGroupId(String ruleGroupId)
A unique identifier for a
RuleGroup. You useRuleGroupIdto get more information about aRuleGroup(see GetRuleGroup), update aRuleGroup(see UpdateRuleGroup), insert aRuleGroupinto aWebACLor delete a one from aWebACL(see UpdateWebACL), or delete aRuleGroupfrom AWS WAF (see DeleteRuleGroup).RuleGroupIdis returned by CreateRuleGroup and by ListRuleGroups.- Parameters:
ruleGroupId- A unique identifier for aRuleGroup. You useRuleGroupIdto get more information about aRuleGroup(see GetRuleGroup), update aRuleGroup(see UpdateRuleGroup), insert aRuleGroupinto aWebACLor delete a one from aWebACL(see UpdateWebACL), or delete aRuleGroupfrom AWS WAF (see DeleteRuleGroup).RuleGroupIdis returned by CreateRuleGroup and by ListRuleGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
RuleGroup.Builder name(String name)
The friendly name or description for the
RuleGroup. You can't change the name of aRuleGroupafter you create it.- Parameters:
name- The friendly name or description for theRuleGroup. You can't change the name of aRuleGroupafter you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
RuleGroup.Builder metricName(String 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.
-
-