public static interface ResponseAction.Builder extends SdkPojo, CopyableBuilder<ResponseAction.Builder,ResponseAction>
| Modifier and Type | Method and Description |
|---|---|
ResponseAction.Builder |
block(BlockAction block)
Specifies that Shield Advanced should configure its WAF rules with the WAF
Block action. |
default ResponseAction.Builder |
block(Consumer<BlockAction.Builder> block)
Specifies that Shield Advanced should configure its WAF rules with the WAF
Block action. |
default ResponseAction.Builder |
count(Consumer<CountAction.Builder> count)
Specifies that Shield Advanced should configure its WAF rules with the WAF
Count action. |
ResponseAction.Builder |
count(CountAction count)
Specifies that Shield Advanced should configure its WAF rules with the WAF
Count action. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseAction.Builder block(BlockAction block)
Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.
You must specify exactly one action, either Block or Count.
block - Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.
You must specify exactly one action, either Block or Count.
default ResponseAction.Builder block(Consumer<BlockAction.Builder> block)
Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.
You must specify exactly one action, either Block or Count.
BlockAction.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)ResponseAction.Builder count(CountAction count)
Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.
You must specify exactly one action, either Block or Count.
count - Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.
You must specify exactly one action, either Block or Count.
default ResponseAction.Builder count(Consumer<CountAction.Builder> count)
Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.
You must specify exactly one action, either Block or Count.
CountAction.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 © 2023. All rights reserved.