@Generated(value="software.amazon.awssdk:codegen") public final class CountAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CountAction.Builder,CountAction>
Specifies that WAF should count the request. Optionally defines additional custom handling for the request.
This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CountAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CountAction.Builder |
builder() |
CustomRequestHandling |
customRequestHandling()
Defines custom handling for the web request.
|
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 CountAction.Builder> |
serializableBuilderClass() |
CountAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CustomRequestHandling customRequestHandling()
Defines custom handling for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
public CountAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CountAction.Builder,CountAction>public static CountAction.Builder builder()
public static Class<? extends CountAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.