@Stability(value=Stable) public static final class CfnDistribution.OriginCustomHeaderProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution.OriginCustomHeaderProperty>
CfnDistribution.OriginCustomHeaderProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDistribution.OriginCustomHeaderProperty |
build()
Builds the configured instance.
|
CfnDistribution.OriginCustomHeaderProperty.Builder |
headerName(String headerName)
Sets the value of
CfnDistribution.OriginCustomHeaderProperty.getHeaderName() |
CfnDistribution.OriginCustomHeaderProperty.Builder |
headerValue(String headerValue)
Sets the value of
CfnDistribution.OriginCustomHeaderProperty.getHeaderValue() |
@Stability(value=Stable) public CfnDistribution.OriginCustomHeaderProperty.Builder headerName(String headerName)
CfnDistribution.OriginCustomHeaderProperty.getHeaderName()headerName - The name of a header that you want CloudFront to send to your origin. This parameter is required.
For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .this@Stability(value=Stable) public CfnDistribution.OriginCustomHeaderProperty.Builder headerValue(String headerValue)
CfnDistribution.OriginCustomHeaderProperty.getHeaderValue()headerValue - The value for the header that you specified in the `HeaderName` field. This parameter is required.this@Stability(value=Stable) public CfnDistribution.OriginCustomHeaderProperty build()
build in interface software.amazon.jsii.Builder<CfnDistribution.OriginCustomHeaderProperty>CfnDistribution.OriginCustomHeaderPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.