StructuredPojo
, ToCopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
@Generated("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 | Description |
---|---|---|
static interface |
WebACLUpdate.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
action() |
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) |
|
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() |
public String action()
Specifies whether to insert a Rule
into or delete a Rule
from a WebACL
.
Rule
into or delete a Rule
from a
WebACL
.ChangeAction
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
public static WebACLUpdate.Builder builder()
public static Class<? extends WebACLUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.