@Generated(value="software.amazon.awssdk:codegen") public class WebACLUpdate extends Object implements StructuredPojo, ToCopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends WebACLUpdate.Builder> |
serializableBuilderClass() |
WebACLUpdate.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()
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 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 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>public static WebACLUpdate.Builder builder()
public static Class<? extends WebACLUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.