@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 |
actionString()
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() |
copy
public 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
actionString()
.
Rule
into or delete a Rule
from a
WebACL
.ChangeAction
public String actionString()
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
actionString()
.
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.