Interface ResponseAction.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ResponseAction.Builder,,ResponseAction> SdkBuilder<ResponseAction.Builder,,ResponseAction> SdkPojo
- Enclosing class:
 ResponseAction
- 
Method Summary
Modifier and TypeMethodDescriptiondefault ResponseAction.Builderblock(Consumer<BlockAction.Builder> block) Specifies that Shield Advanced should configure its WAF rules with the WAFBlockaction.block(BlockAction block) Specifies that Shield Advanced should configure its WAF rules with the WAFBlockaction.default ResponseAction.Buildercount(Consumer<CountAction.Builder> count) Specifies that Shield Advanced should configure its WAF rules with the WAFCountaction.count(CountAction count) Specifies that Shield Advanced should configure its WAF rules with the WAFCountaction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
block
Specifies that Shield Advanced should configure its WAF rules with the WAF
Blockaction.You must specify exactly one action, either
BlockorCount.- Parameters:
 block- Specifies that Shield Advanced should configure its WAF rules with the WAFBlockaction.You must specify exactly one action, either
BlockorCount.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
block
Specifies that Shield Advanced should configure its WAF rules with the WAF
Blockaction.You must specify exactly one action, either
This is a convenience method that creates an instance of theBlockorCount.BlockAction.Builderavoiding the need to create one manually viaBlockAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblock(BlockAction).- Parameters:
 block- a consumer that will call methods onBlockAction.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
count
Specifies that Shield Advanced should configure its WAF rules with the WAF
Countaction.You must specify exactly one action, either
BlockorCount.- Parameters:
 count- Specifies that Shield Advanced should configure its WAF rules with the WAFCountaction.You must specify exactly one action, either
BlockorCount.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
count
Specifies that Shield Advanced should configure its WAF rules with the WAF
Countaction.You must specify exactly one action, either
This is a convenience method that creates an instance of theBlockorCount.CountAction.Builderavoiding the need to create one manually viaCountAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocount(CountAction).- Parameters:
 count- a consumer that will call methods onCountAction.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -