| Package | Description | 
|---|---|
| com.amazonaws.services.cloudfront.model | 
| Modifier and Type | Method and Description | 
|---|---|
| CustomErrorResponse | CustomErrorResponse. clone() | 
| CustomErrorResponse | CustomErrorResponse. withErrorCachingMinTTL(Long errorCachingMinTTL)
 The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in
  ErrorCode. | 
| CustomErrorResponse | CustomErrorResponse. withErrorCode(Integer errorCode)
 The HTTP status code for which you want to specify a custom error page and/or a caching duration. | 
| CustomErrorResponse | CustomErrorResponse. withResponseCode(String responseCode)
 The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. | 
| CustomErrorResponse | CustomErrorResponse. withResponsePagePath(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. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<CustomErrorResponse> | CustomErrorResponses. getItems()
 A complex type that contains a  CustomErrorResponseelement for each HTTP status code for which you
 want to specify a custom error page and/or a caching duration. | 
| Modifier and Type | Method and Description | 
|---|---|
| CustomErrorResponses | CustomErrorResponses. withItems(CustomErrorResponse... items)
 A complex type that contains a  CustomErrorResponseelement for each HTTP status code for which you
 want to specify a custom error page and/or a caching duration. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CustomErrorResponses. setItems(Collection<CustomErrorResponse> items)
 A complex type that contains a  CustomErrorResponseelement for each HTTP status code for which you
 want to specify a custom error page and/or a caching duration. | 
| CustomErrorResponses | CustomErrorResponses. withItems(Collection<CustomErrorResponse> items)
 A complex type that contains a  CustomErrorResponseelement for each HTTP status code for which you
 want to specify a custom error page and/or a caching duration. | 
Copyright © 2022. All rights reserved.