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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OriginCustomHeader.Builder
headerName(String headerName)
The name of a header that you want CloudFront to send to your origin.OriginCustomHeader.Builder
headerValue(String headerValue)
The value for the header that you specified in theHeaderName
field.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
headerName
OriginCustomHeader.Builder headerName(String 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
OriginCustomHeader.Builder headerValue(String headerValue)
The value for the header that you specified in the
HeaderName
field.- Parameters:
headerValue
- The value for the header that you specified in theHeaderName
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-