ToCopyableBuilder<CustomHeaders.Builder,CustomHeaders>@Generated("software.amazon.awssdk:codegen") public class CustomHeaders extends Object implements ToCopyableBuilder<CustomHeaders.Builder,CustomHeaders>
A complex type that contains the list of Custom Headers for each origin.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
CustomHeaders.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static CustomHeaders.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<OriginCustomHeader> |
items() |
Optional: A list that contains one
OriginCustomHeader element for each custom header that you
want CloudFront to forward to the origin. |
Integer |
quantity() |
The number of custom headers, if any, for this distribution.
|
static Class<? extends CustomHeaders.Builder> |
serializableBuilderClass() |
|
CustomHeaders.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Integer quantity()
The number of custom headers, if any, for this distribution.
public List<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.
OriginCustomHeader element for each custom header
that you want CloudFront to forward to the origin. If Quantity is 0, omit Items
.public CustomHeaders.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CustomHeaders.Builder,CustomHeaders>public static CustomHeaders.Builder builder()
public static Class<? extends CustomHeaders.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.