public static interface ResponseHeadersPolicyCustomHeadersConfig.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyCustomHeadersConfig.Builder,ResponseHeadersPolicyCustomHeadersConfig>
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersPolicyCustomHeadersConfig.Builder |
items(Collection<ResponseHeadersPolicyCustomHeader> items)
The list of HTTP response headers and their values.
|
ResponseHeadersPolicyCustomHeadersConfig.Builder |
items(Consumer<ResponseHeadersPolicyCustomHeader.Builder>... items)
The list of HTTP response headers and their values.
|
ResponseHeadersPolicyCustomHeadersConfig.Builder |
items(ResponseHeadersPolicyCustomHeader... items)
The list of HTTP response headers and their values.
|
ResponseHeadersPolicyCustomHeadersConfig.Builder |
quantity(Integer quantity)
The number of HTTP response headers in the list.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseHeadersPolicyCustomHeadersConfig.Builder quantity(Integer quantity)
The number of HTTP response headers in the list.
quantity - The number of HTTP response headers in the list.ResponseHeadersPolicyCustomHeadersConfig.Builder items(Collection<ResponseHeadersPolicyCustomHeader> items)
The list of HTTP response headers and their values.
items - The list of HTTP response headers and their values.ResponseHeadersPolicyCustomHeadersConfig.Builder items(ResponseHeadersPolicyCustomHeader... items)
The list of HTTP response headers and their values.
items - The list of HTTP response headers and their values.ResponseHeadersPolicyCustomHeadersConfig.Builder items(Consumer<ResponseHeadersPolicyCustomHeader.Builder>... items)
The list of HTTP response headers and their values.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is
called immediately and its result is passed to #items(List) .items - a consumer that will call methods on List.Builder #items(List) Copyright © 2021. All rights reserved.