@Stability(value=Stable) public static final class CfnWebACL.CustomResponseProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.CustomResponseProperty>
CfnWebACL.CustomResponseProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.CustomResponseProperty |
build()
Builds the configured instance.
|
CfnWebACL.CustomResponseProperty.Builder |
customResponseBodyKey(String customResponseBodyKey)
Sets the value of
CfnWebACL.CustomResponseProperty.getCustomResponseBodyKey() |
CfnWebACL.CustomResponseProperty.Builder |
responseCode(Number responseCode)
Sets the value of
CfnWebACL.CustomResponseProperty.getResponseCode() |
CfnWebACL.CustomResponseProperty.Builder |
responseHeaders(IResolvable responseHeaders)
Sets the value of
CfnWebACL.CustomResponseProperty.getResponseHeaders() |
CfnWebACL.CustomResponseProperty.Builder |
responseHeaders(List<? extends Object> responseHeaders)
Sets the value of
CfnWebACL.CustomResponseProperty.getResponseHeaders() |
@Stability(value=Stable) public CfnWebACL.CustomResponseProperty.Builder responseCode(Number responseCode)
CfnWebACL.CustomResponseProperty.getResponseCode()responseCode - `CfnWebACL.CustomResponseProperty.ResponseCode`. This parameter is required.this@Stability(value=Stable) public CfnWebACL.CustomResponseProperty.Builder customResponseBodyKey(String customResponseBodyKey)
CfnWebACL.CustomResponseProperty.getCustomResponseBodyKey()customResponseBodyKey - `CfnWebACL.CustomResponseProperty.CustomResponseBodyKey`.this@Stability(value=Stable) public CfnWebACL.CustomResponseProperty.Builder responseHeaders(IResolvable responseHeaders)
CfnWebACL.CustomResponseProperty.getResponseHeaders()responseHeaders - `CfnWebACL.CustomResponseProperty.ResponseHeaders`.this@Stability(value=Stable) public CfnWebACL.CustomResponseProperty.Builder responseHeaders(List<? extends Object> responseHeaders)
CfnWebACL.CustomResponseProperty.getResponseHeaders()responseHeaders - `CfnWebACL.CustomResponseProperty.ResponseHeaders`.this@Stability(value=Stable) public CfnWebACL.CustomResponseProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.CustomResponseProperty>CfnWebACL.CustomResponsePropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.