Interface RuleGroupReferenceStatement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupReferenceStatement.Builder,
,RuleGroupReferenceStatement> SdkBuilder<RuleGroupReferenceStatement.Builder,
,RuleGroupReferenceStatement> SdkPojo
- Enclosing class:
RuleGroupReferenceStatement
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the entity.excludedRules
(Collection<ExcludedRule> excludedRules) Rules in the referenced rule group whose actions are set toCount
.excludedRules
(Consumer<ExcludedRule.Builder>... excludedRules) Rules in the referenced rule group whose actions are set toCount
.excludedRules
(ExcludedRule... excludedRules) Rules in the referenced rule group whose actions are set toCount
.ruleActionOverrides
(Collection<RuleActionOverride> ruleActionOverrides) Action settings to use in the place of the rule actions that are configured inside the rule group.ruleActionOverrides
(Consumer<RuleActionOverride.Builder>... ruleActionOverrides) Action settings to use in the place of the rule actions that are configured inside the rule group.ruleActionOverrides
(RuleActionOverride... ruleActionOverrides) Action settings to use in the place of the rule actions that are configured inside the rule group.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 Details
-
arn
The Amazon Resource Name (ARN) of the entity.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedRules
Rules in the referenced rule group whose actions are set to
Count
.Instead of this option, use
RuleActionOverrides
. It accepts any valid action setting, includingCount
.- Parameters:
excludedRules
- Rules in the referenced rule group whose actions are set toCount
.Instead of this option, use
RuleActionOverrides
. It accepts any valid action setting, includingCount
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedRules
Rules in the referenced rule group whose actions are set to
Count
.Instead of this option, use
RuleActionOverrides
. It accepts any valid action setting, includingCount
.- Parameters:
excludedRules
- Rules in the referenced rule group whose actions are set toCount
.Instead of this option, use
RuleActionOverrides
. It accepts any valid action setting, includingCount
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedRules
Rules in the referenced rule group whose actions are set to
Count
.Instead of this option, use
RuleActionOverrides
. It accepts any valid action setting, includingCount
.ExcludedRule.Builder
avoiding the need to create one manually viaExcludedRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcludedRules(List<ExcludedRule>)
.- Parameters:
excludedRules
- a consumer that will call methods onExcludedRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleActionOverrides
RuleGroupReferenceStatement.Builder ruleActionOverrides(Collection<RuleActionOverride> ruleActionOverrides) Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.
You can use overrides for testing, for example you can override all of rule actions to
Count
and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.- Parameters:
ruleActionOverrides
- Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.You can use overrides for testing, for example you can override all of rule actions to
Count
and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleActionOverrides
Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.
You can use overrides for testing, for example you can override all of rule actions to
Count
and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.- Parameters:
ruleActionOverrides
- Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.You can use overrides for testing, for example you can override all of rule actions to
Count
and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleActionOverrides
RuleGroupReferenceStatement.Builder ruleActionOverrides(Consumer<RuleActionOverride.Builder>... ruleActionOverrides) Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.
You can use overrides for testing, for example you can override all of rule actions to
This is a convenience method that creates an instance of theCount
and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.RuleActionOverride.Builder
avoiding the need to create one manually viaRuleActionOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleActionOverrides(List<RuleActionOverride>)
.- Parameters:
ruleActionOverrides
- a consumer that will call methods onRuleActionOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-