@Generated(value="software.amazon.awssdk:codegen") public class CustomHeaders extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<CustomHeaders.Builder,CustomHeaders>
A complex type that contains the list of Custom Headers for each origin.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomHeaders.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomHeaders.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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() |
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<CustomHeaders.Builder,CustomHeaders>public static CustomHeaders.Builder builder()
public static Class<? extends CustomHeaders.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.