Class ErrorResponse.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ErrorResponse.Jsii$Proxy
- All Implemented Interfaces:
- ErrorResponse,- software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ErrorResponse
@Stability(Stable)
@Internal
public static final class ErrorResponse.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ErrorResponse
An implementation for 
ErrorResponse- 
Nested Class SummaryNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.ErrorResponseErrorResponse.Builder, ErrorResponse.Jsii$Proxy
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ErrorResponse.Builder builder) Constructor that initializes the object based on literal property values passed by theErrorResponse.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.
- 
Method SummaryModifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe HTTP status code for which you want to specify a custom error page and/or a caching duration.final NumberThe HTTP status code that you want CloudFront to return to the viewer along with the custom error page.final StringThe path to the custom error page that you want CloudFront to return to a viewer when your origin returns thehttpStatus, for example, /4xx-errors/403-forbidden.html.final DurationgetTtl()The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
- 
Constructor Details- 
Jsii$Proxyprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
- objRef- Reference to the JSII managed object.
 
- 
Jsii$ProxyConstructor that initializes the object based on literal property values passed by theErrorResponse.Builder.
 
- 
- 
Method Details- 
getHttpStatusDescription copied from interface:ErrorResponseThe HTTP status code for which you want to specify a custom error page and/or a caching duration.- Specified by:
- getHttpStatusin interface- ErrorResponse
 
- 
getResponseHttpStatusDescription copied from interface:ErrorResponseThe HTTP status code that you want CloudFront to return to the viewer along with the custom error page.If you specify a value for responseHttpStatus, you must also specify a value forresponsePagePath.Default: - the error code will be returned as the response code. - Specified by:
- getResponseHttpStatusin interface- ErrorResponse
 
- 
getResponsePagePathDescription copied from interface:ErrorResponseThe path to the custom error page that you want CloudFront to return to a viewer when your origin returns thehttpStatus, for example, /4xx-errors/403-forbidden.html.Default: - the default CloudFront response is shown. - Specified by:
- getResponsePagePathin interface- ErrorResponse
 
- 
getTtlDescription copied from interface:ErrorResponseThe minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode.Default: - the default caching TTL behavior applies - Specified by:
- getTtlin interface- ErrorResponse
 
- 
$jsii$toJson@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
- $jsii$toJsonin interface- software.amazon.jsii.JsiiSerializable
 
- 
equals
- 
hashCodepublic final int hashCode()
 
-