Interface ResponseHeadersPolicyCustomHeader.Builder

    • Method Detail

      • header

        ResponseHeadersPolicyCustomHeader.Builder header​(String 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

        ResponseHeadersPolicyCustomHeader.Builder value​(String 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

        ResponseHeadersPolicyCustomHeader.Builder override​(Boolean 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.