Interface OverrideAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OverrideAction.Builder,
,OverrideAction> SdkBuilder<OverrideAction.Builder,
,OverrideAction> SdkPojo
- Enclosing class:
OverrideAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault OverrideAction.Builder
count
(Consumer<CountAction.Builder> count) Override the rule group evaluation result to count only.count
(CountAction count) Override the rule group evaluation result to count only.default OverrideAction.Builder
none
(Consumer<NoneAction.Builder> none) Don't override the rule group evaluation result.none
(NoneAction none) Don't override the rule group evaluation result.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
-
count
Override the rule group evaluation result to count only.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with
Count
action, in your rule group reference statement settings.- Parameters:
count
- Override the rule group evaluation result to count only.This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with
Count
action, in your rule group reference statement settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
Override the rule group evaluation result to count only.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with
Count
action, in your rule group reference statement settings.CountAction.Builder
avoiding the need to create one manually viaCountAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocount(CountAction)
.- Parameters:
count
- a consumer that will call methods onCountAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
none
Don't override the rule group evaluation result. This is the most common setting.
- Parameters:
none
- Don't override the rule group evaluation result. This is the most common setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
none
Don't override the rule group evaluation result. This is the most common setting.
This is a convenience method that creates an instance of theNoneAction.Builder
avoiding the need to create one manually viaNoneAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonone(NoneAction)
.- Parameters:
none
- a consumer that will call methods onNoneAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-