@Generated(value="software.amazon.awssdk:codegen") public final class WafOverrideAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WafOverrideAction.Builder,WafOverrideAction>
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The action to take if any rule within the RuleGroup matches a request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WafOverrideAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WafOverrideAction.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends WafOverrideAction.Builder> |
serializableBuilderClass() |
WafOverrideAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WafOverrideActionType |
type()
COUNT overrides the action specified by the individual rule within a RuleGroup . |
String |
typeAsString()
COUNT overrides the action specified by the individual rule within a RuleGroup . |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final WafOverrideActionType type()
COUNT overrides the action specified by the individual rule within a RuleGroup . If set
to NONE, the rule's action will take place.
If the service returns an enum value that is not available in the current SDK version, type will return
WafOverrideActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
COUNT overrides the action specified by the individual rule within a RuleGroup
. If set to NONE, the rule's action will take place.WafOverrideActionTypepublic final String typeAsString()
COUNT overrides the action specified by the individual rule within a RuleGroup . If set
to NONE, the rule's action will take place.
If the service returns an enum value that is not available in the current SDK version, type will return
WafOverrideActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
COUNT overrides the action specified by the individual rule within a RuleGroup
. If set to NONE, the rule's action will take place.WafOverrideActionTypepublic WafOverrideAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WafOverrideAction.Builder,WafOverrideAction>public static WafOverrideAction.Builder builder()
public static Class<? extends WafOverrideAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.