| Package | Description | 
|---|---|
| com.amazonaws.services.cloudfront.model | 
 Classes modeling the various types represented by AmazonCloudFront. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CustomErrorResponse | 
CustomErrorResponse.clone()  | 
CustomErrorResponse | 
CustomErrorResponse.withErrorCachingMinTTL(Long errorCachingMinTTL)
The minimum amount of time you want HTTP error codes to stay in
 CloudFront caches before CloudFront queries your origin to see whether
 the object has been updated. 
 | 
CustomErrorResponse | 
CustomErrorResponse.withErrorCode(Integer errorCode)
The 4xx or 5xx HTTP status code that you want to customize. 
 | 
CustomErrorResponse | 
CustomErrorResponse.withResponseCode(String responseCode)
The HTTP status code that you want CloudFront to return with the
 custom error page to the viewer. 
 | 
CustomErrorResponse | 
CustomErrorResponse.withResponsePagePath(String responsePagePath)
The path of the custom error page (for example, /custom_404.html). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<CustomErrorResponse> | 
CustomErrorResponses.getItems()
Optional: A complex type that contains custom error responses for this
 distribution. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CustomErrorResponses | 
CustomErrorResponses.withItems(CustomErrorResponse... items)
Optional: A complex type that contains custom error responses for this
 distribution. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CustomErrorResponses.setItems(Collection<CustomErrorResponse> items)
Optional: A complex type that contains custom error responses for this
 distribution. 
 | 
CustomErrorResponses | 
CustomErrorResponses.withItems(Collection<CustomErrorResponse> items)
Optional: A complex type that contains custom error responses for this
 distribution. 
 | 
Copyright © 2015. All rights reserved.