public static interface WebACLUpdate.Builder extends CopyableBuilder<WebACLUpdate.Builder,WebACLUpdate>
Modifier and Type | Method and Description |
---|---|
WebACLUpdate.Builder |
action(ChangeAction action)
Specifies whether to insert a
Rule into or delete a Rule from a WebACL
. |
WebACLUpdate.Builder |
action(String 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 ). |
default WebACLUpdate.Builder |
activatedRule(Consumer<ActivatedRule.Builder> 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
,
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
,
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
).default WebACLUpdate.Builder activatedRule(Consumer<ActivatedRule.Builder> 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.Builder
avoiding the need to
create one manually via ActivatedRule.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to activatedRule(ActivatedRule)
.activatedRule
- a consumer that will call methods on ActivatedRule.Builder
activatedRule(ActivatedRule)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.