@Generated(value="software.amazon.awssdk:codegen") public final class RuleGroupUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroupUpdate.Builder,RuleGroupUpdate>
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 an ActivatedRule and indicates whether you want to add it to a RuleGroup or
delete it from a RuleGroup.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleGroupUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
ChangeAction |
action()
Specify
INSERT to add an ActivatedRule to a RuleGroup. |
String |
actionAsString()
Specify
INSERT to add an ActivatedRule to a RuleGroup. |
ActivatedRule |
activatedRule()
The
ActivatedRule object 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 RuleGroupUpdate.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 RuleGroupUpdate.Builder> |
serializableBuilderClass() |
RuleGroupUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ChangeAction action()
Specify INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.
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().
INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.ChangeActionpublic final String actionAsString()
Specify INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.
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().
INSERT to add an ActivatedRule to a RuleGroup. Use
DELETE to remove an ActivatedRule from a RuleGroup.ChangeActionpublic final ActivatedRule activatedRule()
The ActivatedRule object 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 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 RuleGroupUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleGroupUpdate.Builder,RuleGroupUpdate>public static RuleGroupUpdate.Builder builder()
public static Class<? extends RuleGroupUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.