@Generated(value="software.amazon.awssdk:codegen") public final class RuleUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>
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 a Predicate (such as an IPSet) and indicates whether you want to add it to a
Rule or delete it from a Rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
ChangeAction |
action()
Specify
INSERT to add a Predicate to a Rule. |
String |
actionAsString()
Specify
INSERT to add a Predicate to a Rule. |
static RuleUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Predicate |
predicate()
The ID of the
Predicate (such as an IPSet) that you want to add to a Rule. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleUpdate.Builder> |
serializableBuilderClass() |
RuleUpdate.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 a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
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 a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic final String actionAsString()
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
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 a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic final Predicate predicate()
The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
Predicate (such as an IPSet) that you want to add to a
Rule.public RuleUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleUpdate.Builder,RuleUpdate>public static RuleUpdate.Builder builder()
public static Class<? extends RuleUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.