@Generated(value="software.amazon.awssdk:codegen") public final class WebACLUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
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.
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WebACLUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
ChangeAction |
action()
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
String |
actionAsString()
Specifies whether to insert a
Rule into or delete a Rule from a WebACL. |
ActivatedRule |
activatedRule()
The
ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT). |
static WebACLUpdate.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 WebACLUpdate.Builder> |
serializableBuilderClass() |
WebACLUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ChangeAction action()
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
If the service returns an enum value that is not available in the current SDK version, action will
return ChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
Rule into or delete a Rule from a
WebACL.ChangeActionpublic final String actionAsString()
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
If the service returns an enum value that is not available in the current SDK version, action will
return ChangeAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
Rule into or delete a Rule from a
WebACL.ChangeActionpublic final ActivatedRule activatedRule()
The ActivatedRule object in an UpdateWebACL request specifies a Rule that you
want to insert or delete, the priority of the Rule in the WebACL, and the action that
you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK
, or COUNT).
ActivatedRule object in an UpdateWebACL request specifies a Rule
that you want to insert or delete, the priority of the Rule in the WebACL, and
the action that you want AWS WAF to take when a web request matches the Rule (
ALLOW, BLOCK, or COUNT).public WebACLUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>public static WebACLUpdate.Builder builder()
public static Class<? extends WebACLUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.