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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyFrameOptions.Builder
frameOption(String frameOption)
The value of theX-Frame-Options
HTTP response header.ResponseHeadersPolicyFrameOptions.Builder
frameOption(FrameOptionsList frameOption)
The value of theX-Frame-Options
HTTP response header.ResponseHeadersPolicyFrameOptions.Builder
override(Boolean 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.-
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 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 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
ResponseHeadersPolicyFrameOptions.Builder frameOption(String 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:
FrameOptionsList
,FrameOptionsList
-
frameOption
ResponseHeadersPolicyFrameOptions.Builder frameOption(FrameOptionsList 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:
FrameOptionsList
,FrameOptionsList
-
-