@Generated(value="software.amazon.awssdk:codegen") public final class AwsWafv2RulesActionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsWafv2RulesActionDetails.Builder,AwsWafv2RulesActionDetails>
The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsWafv2RulesActionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
AwsWafv2ActionAllowDetails |
allow()
Instructs WAF to allow the web request.
|
AwsWafv2ActionBlockDetails |
block()
Instructs WAF to block the web request.
|
static AwsWafv2RulesActionDetails.Builder |
builder() |
AwsWafv2RulesActionCaptchaDetails |
captcha()
Instructs WAF to run a CAPTCHA check against the web request.
|
AwsWafv2RulesActionCountDetails |
count()
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the
web ACL.
|
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 AwsWafv2RulesActionDetails.Builder> |
serializableBuilderClass() |
AwsWafv2RulesActionDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsWafv2ActionAllowDetails allow()
Instructs WAF to allow the web request.
public final AwsWafv2ActionBlockDetails block()
Instructs WAF to block the web request.
public final AwsWafv2RulesActionCaptchaDetails captcha()
Instructs WAF to run a CAPTCHA check against the web request.
public final AwsWafv2RulesActionCountDetails count()
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
public AwsWafv2RulesActionDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsWafv2RulesActionDetails.Builder,AwsWafv2RulesActionDetails>public static AwsWafv2RulesActionDetails.Builder builder()
public static Class<? extends AwsWafv2RulesActionDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.