@Generated(value="software.amazon.awssdk:codegen") public final class AllowAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AllowAction.Builder,AllowAction>
Specifies that WAF should allow the request and 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 |
AllowAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AllowAction.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 AllowAction.Builder> |
serializableBuilderClass() |
AllowAction.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 AllowAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AllowAction.Builder,AllowAction>public static AllowAction.Builder builder()
public static Class<? extends AllowAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.