CopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
, SdkBuilder<WebACLUpdate.Builder,WebACLUpdate>
public static interface WebACLUpdate.Builder extends CopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
Modifier and Type | Method | Description |
---|---|---|
WebACLUpdate.Builder |
action(String action) |
Specifies whether to insert a
Rule into or delete a Rule from a WebACL
. |
WebACLUpdate.Builder |
action(ChangeAction action) |
Specifies whether to insert a
Rule into or delete a Rule from a WebACL
. |
WebACLUpdate.Builder |
activatedRule(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 ). |
copy
apply, build
WebACLUpdate.Builder action(String action)
Specifies whether to insert a Rule
into or delete a Rule
from a WebACL
.
action
- Specifies whether to insert a Rule
into or delete a Rule
from a
WebACL
.ChangeAction
WebACLUpdate.Builder action(ChangeAction action)
Specifies whether to insert a Rule
into or delete a Rule
from a WebACL
.
action
- Specifies whether to insert a Rule
into or delete a Rule
from a
WebACL
.ChangeAction
WebACLUpdate.Builder activatedRule(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
- 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
).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.