Interface OverrideAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OverrideAction.Builder,OverrideAction>,SdkBuilder<OverrideAction.Builder,OverrideAction>,SdkPojo
- Enclosing class:
- OverrideAction
public static interface OverrideAction.Builder extends SdkPojo, CopyableBuilder<OverrideAction.Builder,OverrideAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OverrideAction.Buildercount(Consumer<CountAction.Builder> count)Override the rule group evaluation result to count only.OverrideAction.Buildercount(CountAction count)Override the rule group evaluation result to count only.default OverrideAction.Buildernone(Consumer<NoneAction.Builder> none)Don't override the rule group evaluation result.OverrideAction.Buildernone(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
count
OverrideAction.Builder count(CountAction 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
Countaction, 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
Countaction, in your rule group reference statement settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
default OverrideAction.Builder count(Consumer<CountAction.Builder> count)
Override the rule group evaluation result to count only.
This is a convenience method that creates an instance of theThis 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
Countaction, in your rule group reference statement settings.CountAction.Builderavoiding the need to create one manually viaCountAction.builder().When the
Consumercompletes,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:
count(CountAction)
-
none
OverrideAction.Builder none(NoneAction 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
default OverrideAction.Builder none(Consumer<NoneAction.Builder> 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.Builderavoiding the need to create one manually viaNoneAction.builder().When the
Consumercompletes,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:
none(NoneAction)
-
-