Class CfnRuleGroup.BlockProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnRuleGroup.BlockProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.BlockProperty>
- Enclosing interface:
- CfnRuleGroup.BlockProperty
@Stability(Stable)
public static final class CfnRuleGroup.BlockProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.BlockProperty>
A builder for
CfnRuleGroup.BlockProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customResponse
(IResolvable customResponse) Sets the value ofCfnRuleGroup.BlockProperty.getCustomResponse()
customResponse
(CfnRuleGroup.CustomResponseProperty customResponse) Sets the value ofCfnRuleGroup.BlockProperty.getCustomResponse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customResponse
@Stability(Stable) public CfnRuleGroup.BlockProperty.Builder customResponse(IResolvable customResponse) Sets the value ofCfnRuleGroup.BlockProperty.getCustomResponse()
- Parameters:
customResponse
-CfnRuleGroup.BlockProperty.CustomResponse
.- Returns:
this
-
customResponse
@Stability(Stable) public CfnRuleGroup.BlockProperty.Builder customResponse(CfnRuleGroup.CustomResponseProperty customResponse) Sets the value ofCfnRuleGroup.BlockProperty.getCustomResponse()
- Parameters:
customResponse
-CfnRuleGroup.BlockProperty.CustomResponse
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.BlockProperty>
- Returns:
- a new instance of
CfnRuleGroup.BlockProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-