Interface ResponseHeadersPolicyFrameOptions.Builder

    • Method Detail

      • override

        ResponseHeadersPolicyFrameOptions.Builder override​(Boolean override)

        A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.

        Parameters:
        override - A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • frameOption

        ResponseHeadersPolicyFrameOptions.Builder frameOption​(String frameOption)

        The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

        For more information about these values, see X-Frame-Options in the MDN Web Docs.

        Parameters:
        frameOption - The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

        For more information about these values, see X-Frame-Options in the MDN Web Docs.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FrameOptionsList, FrameOptionsList
      • frameOption

        ResponseHeadersPolicyFrameOptions.Builder frameOption​(FrameOptionsList frameOption)

        The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

        For more information about these values, see X-Frame-Options in the MDN Web Docs.

        Parameters:
        frameOption - The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN.

        For more information about these values, see X-Frame-Options in the MDN Web Docs.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FrameOptionsList, FrameOptionsList