public static interface CustomErrorResponses.Builder extends SdkPojo, 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(Consumer<CustomErrorResponse.Builder>... 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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.
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(Consumer<CustomErrorResponse.Builder>... 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.
CustomErrorResponse.Builder avoiding the need to
create one manually via
CustomErrorResponse.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #items(List.
items - a consumer that will call methods on
CustomErrorResponse.Builder#items(java.util.Collection) Copyright © 2023. All rights reserved.