| Package | Description |
|---|---|
| software.amazon.awssdk.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
static CustomErrorResponse.Builder |
CustomErrorResponse.builder() |
CustomErrorResponse.Builder |
CustomErrorResponse.Builder.errorCachingMinTTL(Long errorCachingMinTTL)
The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in
ErrorCode. |
CustomErrorResponse.Builder |
CustomErrorResponse.Builder.errorCode(Integer errorCode)
The HTTP status code for which you want to specify a custom error page and/or a caching duration.
|
CustomErrorResponse.Builder |
CustomErrorResponse.Builder.responseCode(String responseCode)
The HTTP status code that you want CloudFront to return to the viewer along with the custom error page.
|
CustomErrorResponse.Builder |
CustomErrorResponse.Builder.responsePagePath(String responsePagePath)
The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the
HTTP status code specified by
ErrorCode, for example,
/4xx-errors/403-forbidden.html. |
CustomErrorResponse.Builder |
CustomErrorResponse.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CustomErrorResponse.Builder> |
CustomErrorResponse.serializableBuilderClass() |
Copyright © 2023. All rights reserved.