public static interface CustomHeaders.Builder extends SdkPojo, CopyableBuilder<CustomHeaders.Builder,CustomHeaders>
| Modifier and Type | Method and Description |
|---|---|
CustomHeaders.Builder |
items(Collection<OriginCustomHeader> items)
Optional: A list that contains one
OriginCustomHeader element for each custom header that
you want CloudFront to forward to the origin. |
CustomHeaders.Builder |
items(Consumer<OriginCustomHeader.Builder>... items)
Optional: A list that contains one
OriginCustomHeader element for each custom header that
you want CloudFront to forward to the origin. |
CustomHeaders.Builder |
items(OriginCustomHeader... items)
Optional: A list that contains one
OriginCustomHeader element for each custom header that
you want CloudFront to forward to the origin. |
CustomHeaders.Builder |
quantity(Integer quantity)
The number of custom headers, if any, for this distribution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomHeaders.Builder quantity(Integer quantity)
The number of custom headers, if any, for this distribution.
quantity - The number of custom headers, if any, for this distribution.CustomHeaders.Builder items(Collection<OriginCustomHeader> items)
Optional: A list that contains one OriginCustomHeader element for each custom header that
you want CloudFront to forward to the origin. If Quantity is 0, omit Items.
items - Optional: A list that contains one OriginCustomHeader element for each custom
header that you want CloudFront to forward to the origin. If Quantity is 0, omit
Items.CustomHeaders.Builder items(OriginCustomHeader... items)
Optional: A list that contains one OriginCustomHeader element for each custom header that
you want CloudFront to forward to the origin. If Quantity is 0, omit Items.
items - Optional: A list that contains one OriginCustomHeader element for each custom
header that you want CloudFront to forward to the origin. If Quantity is 0, omit
Items.CustomHeaders.Builder items(Consumer<OriginCustomHeader.Builder>... items)
Optional: A list that contains one OriginCustomHeader element for each custom header that
you want CloudFront to forward to the origin. If Quantity is 0, omit Items.
OriginCustomHeader.Builder avoiding the need to
create one manually via OriginCustomHeader.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
OriginCustomHeader.Builder#items(java.util.Collection) Copyright © 2023. All rights reserved.