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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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. This is a convenience method that creates an instance of theInstead of this option, use
RuleActionOverrides. It accepts any valid action setting, includingCount.ExcludedRule.Builderavoiding the need to create one manually viaExcludedRule.builder().When the
Consumercompletes,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
Countand 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
Countand 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
Countand 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
Countand 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 theCountand 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.Builderavoiding the need to create one manually viaRuleActionOverride.builder().When the
Consumercompletes,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:
-