CopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
, SdkBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
public static interface OriginCustomHeader.Builder extends CopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
Modifier and Type | Method | Description |
---|---|---|
OriginCustomHeader.Builder |
headerName(String headerName) |
The name of a header that you want CloudFront to forward to your origin.
|
OriginCustomHeader.Builder |
headerValue(String headerValue) |
The value for the header that you specified in the
HeaderName field. |
copy
apply, build
OriginCustomHeader.Builder headerName(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.
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.OriginCustomHeader.Builder headerValue(String headerValue)
The value for the header that you specified in the HeaderName
field.
headerValue
- The value for the header that you specified in the HeaderName
field.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.