Interface ResponseHeadersPolicyCustomHeader.Builder

  • Method Details

    • header

      The HTTP response header name.

      Parameters:
      header - The HTTP response header name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value for the HTTP response header.

      Parameters:
      value - The value for the HTTP response header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • override

      A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

      Parameters:
      override - A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.