Interface OriginCustomHeader.Builder

  • 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.