public static final class CfnWebACL.BlockActionProperty.Builder
extends java.lang.Object
CfnWebACL.BlockActionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.BlockActionProperty |
build()
Builds the configured instance.
|
CfnWebACL.BlockActionProperty.Builder |
customResponse(CfnWebACL.CustomResponseProperty customResponse)
Sets the value of
CfnWebACL.BlockActionProperty.getCustomResponse() |
CfnWebACL.BlockActionProperty.Builder |
customResponse(IResolvable customResponse)
Sets the value of
CfnWebACL.BlockActionProperty.getCustomResponse() |
public CfnWebACL.BlockActionProperty.Builder customResponse(IResolvable customResponse)
CfnWebACL.BlockActionProperty.getCustomResponse()
customResponse
- Defines a custom response for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .this
public CfnWebACL.BlockActionProperty.Builder customResponse(CfnWebACL.CustomResponseProperty customResponse)
CfnWebACL.BlockActionProperty.getCustomResponse()
customResponse
- Defines a custom response for the web request.
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .this
public CfnWebACL.BlockActionProperty build()
CfnWebACL.BlockActionProperty
java.lang.NullPointerException
- if any required attribute was not provided