CopyableBuilder<CustomErrorResponses.Builder,CustomErrorResponses>, SdkBuilder<CustomErrorResponses.Builder,CustomErrorResponses>public static interface CustomErrorResponses.Builder extends CopyableBuilder<CustomErrorResponses.Builder,CustomErrorResponses>
| Modifier and Type | Method | 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.
|
copyapply, buildCustomErrorResponses.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.
NOTE: This method appends the values to the existing list (if any). Use
#setItems(java.util.Collection) or #withItems(java.util.Collection) if you want to override
the existing values.
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.