CopyableBuilder<CustomHeaders.Builder,CustomHeaders>, SdkBuilder<CustomHeaders.Builder,CustomHeaders>public static interface CustomHeaders.Builder extends CopyableBuilder<CustomHeaders.Builder,CustomHeaders>
| Modifier and Type | Method | 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.
|
copyapply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setItems(java.util.Collection) or #withItems(java.util.Collection) if you want to override
the existing values.
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.