Interface RuleGroupReferenceStatement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupReferenceStatement.Builder,RuleGroupReferenceStatement>,SdkBuilder<RuleGroupReferenceStatement.Builder,RuleGroupReferenceStatement>,SdkPojo
- Enclosing class:
- RuleGroupReferenceStatement
public static interface RuleGroupReferenceStatement.Builder extends SdkPojo, CopyableBuilder<RuleGroupReferenceStatement.Builder,RuleGroupReferenceStatement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleGroupReferenceStatement.Builderarn(String arn)The Amazon Resource Name (ARN) of the entity.RuleGroupReferenceStatement.BuilderexcludedRules(Collection<ExcludedRule> excludedRules)Rules in the referenced rule group whose actions are set toCount.RuleGroupReferenceStatement.BuilderexcludedRules(Consumer<ExcludedRule.Builder>... excludedRules)Rules in the referenced rule group whose actions are set toCount.RuleGroupReferenceStatement.BuilderexcludedRules(ExcludedRule... excludedRules)Rules in the referenced rule group whose actions are set toCount.RuleGroupReferenceStatement.BuilderruleActionOverrides(Collection<RuleActionOverride> ruleActionOverrides)Action settings to use in the place of the rule actions that are configured inside the rule group.RuleGroupReferenceStatement.BuilderruleActionOverrides(Consumer<RuleActionOverride.Builder>... ruleActionOverrides)Action settings to use in the place of the rule actions that are configured inside the rule group.RuleGroupReferenceStatement.BuilderruleActionOverrides(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
RuleGroupReferenceStatement.Builder arn(String 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
RuleGroupReferenceStatement.Builder excludedRules(Collection<ExcludedRule> 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
RuleGroupReferenceStatement.Builder excludedRules(ExcludedRule... 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
RuleGroupReferenceStatement.Builder excludedRules(Consumer<ExcludedRule.Builder>... 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 to#excludedRules(List.) - 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:
#excludedRules(java.util.Collection)
-
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
RuleGroupReferenceStatement.Builder ruleActionOverrides(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
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 to#ruleActionOverrides(List.) - 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:
#ruleActionOverrides(java.util.Collection)
-
-