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 method that creates an instance of theResponseHeadersPolicyCustomHeader.Builder avoiding
the need to create one manually via
ResponseHeadersPolicyCustomHeader.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
ResponseHeadersPolicyCustomHeader.Builder#items(java.util.Collection) Copyright © 2023. All rights reserved.