@Generated(value="software.amazon.awssdk:codegen") public final class RuleActionOverride extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleActionOverride.Builder,RuleActionOverride>
Action setting to use in the place of a rule action that is 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleActionOverride.Builder |
| Modifier and Type | Method and Description |
|---|---|
RuleAction |
actionToUse()
The override action to use, in place of the configured action of the rule in the rule group.
|
static RuleActionOverride.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the rule to override.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleActionOverride.Builder> |
serializableBuilderClass() |
RuleActionOverride.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the rule to override.
public final RuleAction actionToUse()
The override action to use, in place of the configured action of the rule in the rule group.
public RuleActionOverride.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleActionOverride.Builder,RuleActionOverride>public static RuleActionOverride.Builder builder()
public static Class<? extends RuleActionOverride.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.