ToCopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
@Generated("software.amazon.awssdk:codegen") public class OriginCustomHeader extends Object implements ToCopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
A complex type that contains HeaderName
and HeaderValue
elements, if any, for this
distribution.
Modifier and Type | Class | Description |
---|---|---|
static interface |
OriginCustomHeader.Builder |
Modifier and Type | Method | Description |
---|---|---|
static OriginCustomHeader.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
public static OriginCustomHeader.Builder builder()
public static Class<? extends OriginCustomHeader.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.