Interface ResponseHeadersPolicyFrameOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseHeadersPolicyFrameOptions.Builder,
,ResponseHeadersPolicyFrameOptions> SdkBuilder<ResponseHeadersPolicyFrameOptions.Builder,
,ResponseHeadersPolicyFrameOptions> SdkPojo
- Enclosing class:
ResponseHeadersPolicyFrameOptions
@Mutable
@NotThreadSafe
public static interface ResponseHeadersPolicyFrameOptions.Builder
extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyFrameOptions.Builder,ResponseHeadersPolicyFrameOptions>
-
Method Summary
Modifier and TypeMethodDescriptionframeOption
(String frameOption) The value of theX-Frame-Options
HTTP response header.frameOption
(FrameOptionsList frameOption) The value of theX-Frame-Options
HTTP response header.A Boolean that determines whether CloudFront overrides theX-Frame-Options
HTTP response header received from the origin with the one specified in this response headers policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 theX-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 areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- Parameters:
frameOption
- The value of theX-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.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 areDENY
andSAMEORIGIN
.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- Parameters:
frameOption
- The value of theX-Frame-Options
HTTP response header. Valid values areDENY
andSAMEORIGIN
.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:
-