public static interface CfnRuleGroup.BlockProperty
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.wafv2.*; BlockProperty blockProperty = BlockProperty.builder() .customResponse(CustomResponseProperty.builder() .responseCode(123) // the properties below are optional .customResponseBodyKey("customResponseBodyKey") .responseHeaders(List.of(CustomHTTPHeaderProperty.builder() .name("name") .value("value") .build())) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRuleGroup.BlockProperty.Builder
A builder for
CfnRuleGroup.BlockProperty |
static class |
CfnRuleGroup.BlockProperty.Jsii$Proxy
An implementation for
CfnRuleGroup.BlockProperty |
Modifier and Type | Method and Description |
---|---|
static CfnRuleGroup.BlockProperty.Builder |
builder() |
default java.lang.Object |
getCustomResponse()
`CfnRuleGroup.BlockProperty.CustomResponse`.
|
default java.lang.Object getCustomResponse()
static CfnRuleGroup.BlockProperty.Builder builder()
CfnRuleGroup.BlockProperty.Builder
of CfnRuleGroup.BlockProperty