@Generated(value="software.amazon.awssdk:codegen") public final class ResponseAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseAction.Builder,ResponseAction>
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
BlockAction |
block()
Specifies that Shield Advanced should configure its WAF rules with the WAF
Block action. |
static ResponseAction.Builder |
builder() |
CountAction |
count()
Specifies that Shield Advanced should configure its WAF rules with the WAF
Count action. |
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 ResponseAction.Builder> |
serializableBuilderClass() |
ResponseAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BlockAction block()
Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.
You must specify exactly one action, either Block or Count.
Block action.
You must specify exactly one action, either Block or Count.
public final CountAction count()
Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.
You must specify exactly one action, either Block or Count.
Count action.
You must specify exactly one action, either Block or Count.
public ResponseAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseAction.Builder,ResponseAction>public static ResponseAction.Builder builder()
public static Class<? extends ResponseAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.