@Stability(value=Stable) public static final class CfnDistribution.CustomErrorResponseProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.CustomErrorResponseProperty>
CfnDistribution.CustomErrorResponseProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.CustomErrorResponseProperty |
build()
Builds the configured instance.
|
CfnDistribution.CustomErrorResponseProperty.Builder |
errorCachingMinTtl(Number errorCachingMinTtl)
Sets the value of
CfnDistribution.CustomErrorResponseProperty.getErrorCachingMinTtl() |
CfnDistribution.CustomErrorResponseProperty.Builder |
errorCode(Number errorCode)
Sets the value of
CfnDistribution.CustomErrorResponseProperty.getErrorCode() |
CfnDistribution.CustomErrorResponseProperty.Builder |
responseCode(Number responseCode)
Sets the value of
CfnDistribution.CustomErrorResponseProperty.getResponseCode() |
CfnDistribution.CustomErrorResponseProperty.Builder |
responsePagePath(String responsePagePath)
Sets the value of
CfnDistribution.CustomErrorResponseProperty.getResponsePagePath() |
@Stability(value=Stable) public CfnDistribution.CustomErrorResponseProperty.Builder errorCode(Number errorCode)
CfnDistribution.CustomErrorResponseProperty.getErrorCode()errorCode - `CfnDistribution.CustomErrorResponseProperty.ErrorCode`. This parameter is required.this@Stability(value=Stable) public CfnDistribution.CustomErrorResponseProperty.Builder errorCachingMinTtl(Number errorCachingMinTtl)
CfnDistribution.CustomErrorResponseProperty.getErrorCachingMinTtl()errorCachingMinTtl - `CfnDistribution.CustomErrorResponseProperty.ErrorCachingMinTTL`.this@Stability(value=Stable) public CfnDistribution.CustomErrorResponseProperty.Builder responseCode(Number responseCode)
CfnDistribution.CustomErrorResponseProperty.getResponseCode()responseCode - `CfnDistribution.CustomErrorResponseProperty.ResponseCode`.this@Stability(value=Stable) public CfnDistribution.CustomErrorResponseProperty.Builder responsePagePath(String responsePagePath)
CfnDistribution.CustomErrorResponseProperty.getResponsePagePath()responsePagePath - `CfnDistribution.CustomErrorResponseProperty.ResponsePagePath`.this@Stability(value=Stable) public CfnDistribution.CustomErrorResponseProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.CustomErrorResponseProperty>CfnDistribution.CustomErrorResponsePropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.