public static final class ErrorResponse.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ErrorResponse
ErrorResponse
ErrorResponse.Builder, ErrorResponse.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Number |
getHttpStatus()
The HTTP status code for which you want to specify a custom error page and/or a caching duration.
|
java.lang.Number |
getResponseHttpStatus()
The HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
|
java.lang.String |
getResponsePagePath()
The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the `httpStatus`, for example, /4xx-errors/403-forbidden.html.
|
Duration |
getTtl()
The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ErrorCode.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getHttpStatus()
ErrorResponse
getHttpStatus
in interface ErrorResponse
public final java.lang.Number getResponseHttpStatus()
ErrorResponse
If you specify a value for responseHttpStatus
, you must also specify a value for responsePagePath
.
Default: - the error code will be returned as the response code.
getResponseHttpStatus
in interface ErrorResponse
public final java.lang.String getResponsePagePath()
ErrorResponse
Default: - the default CloudFront response is shown.
getResponsePagePath
in interface ErrorResponse
public final Duration getTtl()
ErrorResponse
Default: - the default caching TTL behavior applies
getTtl
in interface ErrorResponse
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()