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 Details

    • 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 the HeaderName field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.