Interface OriginCustomHeader.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<OriginCustomHeader.Builder,,- OriginCustomHeader> - SdkBuilder<OriginCustomHeader.Builder,,- OriginCustomHeader> - SdkPojo
- Enclosing class:
- OriginCustomHeader
@Mutable
@NotThreadSafe
public static interface OriginCustomHeader.Builder
extends SdkPojo, CopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader> 
- 
Method SummaryModifier and TypeMethodDescriptionheaderName(String headerName) The name of a header that you want CloudFront to send to your origin.headerValue(String headerValue) The value for the header that you specified in theHeaderNamefield.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
headerNameThe name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide. - Parameters:
- headerName- The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
headerValueThe value for the header that you specified in the HeaderNamefield.- Parameters:
- headerValue- The value for the header that you specified in the- HeaderNamefield.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-