@Generated(value="software.amazon.awssdk:codegen") public final class RuleGroupUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleGroupUpdate.Builder,RuleGroupUpdate>
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleGroupUpdate.Builder> |
serializableBuilderClass() |
RuleGroupUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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 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 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RuleGroupUpdate.Builder,RuleGroupUpdate>public static RuleGroupUpdate.Builder builder()
public static Class<? extends RuleGroupUpdate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.