public static interface CustomHeaders.Builder extends 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(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.
|
copy
apply, build
CustomHeaders.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
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.