public static interface CustomErrorResponses.Builder extends CopyableBuilder<CustomErrorResponses.Builder,CustomErrorResponses>
Modifier and Type | Method and Description |
---|---|
CustomErrorResponses.Builder |
items(Collection<CustomErrorResponse> items)
A complex type that contains a
CustomErrorResponse element for each HTTP status code for which
you want to specify a custom error page and/or a caching duration. |
CustomErrorResponses.Builder |
items(CustomErrorResponse... items)
A complex type that contains a
CustomErrorResponse element for each HTTP status code for which
you want to specify a custom error page and/or a caching duration. |
CustomErrorResponses.Builder |
quantity(Integer quantity)
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration.
|
copy
apply, build
CustomErrorResponses.Builder quantity(Integer quantity)
The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration.
If Quantity
is 0
, you can omit Items
.
quantity
- The number of HTTP status codes for which you want to specify a custom error page and/or a caching
duration. If Quantity
is 0
, you can omit Items
.CustomErrorResponses.Builder items(Collection<CustomErrorResponse> items)
A complex type that contains a CustomErrorResponse
element for each HTTP status code for which
you want to specify a custom error page and/or a caching duration.
items
- A complex type that contains a CustomErrorResponse
element for each HTTP status code for
which you want to specify a custom error page and/or a caching duration.CustomErrorResponses.Builder items(CustomErrorResponse... items)
A complex type that contains a CustomErrorResponse
element for each HTTP status code for which
you want to specify a custom error page and/or a caching duration.
items
- A complex type that contains a CustomErrorResponse
element for each HTTP status code for
which you want to specify a custom error page and/or a caching duration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.