public static interface RuleAction.Builder extends SdkPojo, CopyableBuilder<RuleAction.Builder,RuleAction>
| Modifier and Type | Method and Description |
|---|---|
RuleAction.Builder |
allow(AllowAction allow)
Instructs AWS WAF to allow the web request.
|
default RuleAction.Builder |
allow(Consumer<AllowAction.Builder> allow)
Instructs AWS WAF to allow the web request.
|
RuleAction.Builder |
block(BlockAction block)
Instructs AWS WAF to block the web request.
|
default RuleAction.Builder |
block(Consumer<BlockAction.Builder> block)
Instructs AWS WAF to block the web request.
|
default RuleAction.Builder |
count(Consumer<CountAction.Builder> count)
Instructs AWS WAF to count the web request and allow it.
|
RuleAction.Builder |
count(CountAction count)
Instructs AWS WAF to count the web request and allow it.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuleAction.Builder block(BlockAction block)
Instructs AWS WAF to block the web request.
block - Instructs AWS WAF to block the web request.default RuleAction.Builder block(Consumer<BlockAction.Builder> block)
Instructs AWS WAF to block the web request.
This is a convenience that creates an instance of theBlockAction.Builder avoiding the need to create
one manually via BlockAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to block(BlockAction).block - a consumer that will call methods on BlockAction.Builderblock(BlockAction)RuleAction.Builder allow(AllowAction allow)
Instructs AWS WAF to allow the web request.
allow - Instructs AWS WAF to allow the web request.default RuleAction.Builder allow(Consumer<AllowAction.Builder> allow)
Instructs AWS WAF to allow the web request.
This is a convenience that creates an instance of theAllowAction.Builder avoiding the need to create
one manually via AllowAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to allow(AllowAction).allow - a consumer that will call methods on AllowAction.Builderallow(AllowAction)RuleAction.Builder count(CountAction count)
Instructs AWS WAF to count the web request and allow it.
count - Instructs AWS WAF to count the web request and allow it.default RuleAction.Builder count(Consumer<CountAction.Builder> count)
Instructs AWS WAF to count the web request and allow it.
This is a convenience that creates an instance of theCountAction.Builder avoiding the need to create
one manually via CountAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to count(CountAction).count - a consumer that will call methods on CountAction.Buildercount(CountAction)Copyright © 2021. All rights reserved.