@Generated(value="software.amazon.awssdk:codegen") public class OriginCustomHeader extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
A complex type that contains HeaderName and HeaderValue elements, if any, for this
distribution.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OriginCustomHeader.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OriginCustomHeader.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
headerName()
The name of a header that you want CloudFront to forward to your origin.
|
String |
headerValue()
The value for the header that you specified in the
HeaderName field. |
static Class<? extends OriginCustomHeader.Builder> |
serializableBuilderClass() |
OriginCustomHeader.Builder |
toBuilder() |
String |
toString() |
public String headerName()
The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon Amazon CloudFront Developer Guide.
public String headerValue()
The value for the header that you specified in the HeaderName field.
HeaderName field.public OriginCustomHeader.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>public static OriginCustomHeader.Builder builder()
public static Class<? extends OriginCustomHeader.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.