Package | Description |
---|---|
com.amazonaws.services.cloudfront.model | |
com.amazonaws.services.cloudfront.model.transform |
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CustomErrorResponse> |
CustomErrorResponses.items
Optional: A complex type that contains custom error responses for this
distribution.
|
Modifier and Type | Method and Description |
---|---|
CustomErrorResponse |
CustomErrorResponse.clone() |
CustomErrorResponse |
CustomErrorResponse.withErrorCachingMinTTL(java.lang.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(java.lang.Integer errorCode)
The 4xx or 5xx HTTP status code that you want to customize.
|
CustomErrorResponse |
CustomErrorResponse.withResponseCode(java.lang.String responseCode)
The HTTP status code that you want CloudFront to return with the custom
error page to the viewer.
|
CustomErrorResponse |
CustomErrorResponse.withResponsePagePath(java.lang.String responsePagePath)
The path of the custom error page (for example, /custom_404.html).
|
Modifier and Type | Method and Description |
---|---|
java.util.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(java.util.Collection<CustomErrorResponse> items)
Optional: A complex type that contains custom error responses for this
distribution.
|
CustomErrorResponses |
CustomErrorResponses.withItems(java.util.Collection<CustomErrorResponse> items)
Optional: A complex type that contains custom error responses for this
distribution.
|
Modifier and Type | Method and Description |
---|---|
CustomErrorResponse |
CustomErrorResponseStaxUnmarshaller.unmarshall(StaxUnmarshallerContext context) |