Interface OriginCustomHeader.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OriginCustomHeader.Builder,,OriginCustomHeader> SdkBuilder<OriginCustomHeader.Builder,,OriginCustomHeader> SdkPojo
- Enclosing class:
OriginCustomHeader
public static interface OriginCustomHeader.Builder
extends SdkPojo, CopyableBuilder<OriginCustomHeader.Builder,OriginCustomHeader>
-
Method Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- 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.
-
headerValue
The value for the header that you specified in the
HeaderNamefield.- Parameters:
headerValue- The value for the header that you specified in theHeaderNamefield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-