Interface ResponseHeadersPolicyFrameOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResponseHeadersPolicyFrameOptions.Builder,ResponseHeadersPolicyFrameOptions>, SdkBuilder<ResponseHeadersPolicyFrameOptions.Builder,ResponseHeadersPolicyFrameOptions>, SdkPojo
Enclosing class:
ResponseHeadersPolicyFrameOptions

public static interface ResponseHeadersPolicyFrameOptions.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyFrameOptions.Builder,ResponseHeadersPolicyFrameOptions>
  • Method Details

    • 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

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