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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyFrameOptions.BuilderframeOption(String frameOption)The value of theX-Frame-OptionsHTTP response header.ResponseHeadersPolicyFrameOptions.BuilderframeOption(FrameOptionsList frameOption)The value of theX-Frame-OptionsHTTP response header.ResponseHeadersPolicyFrameOptions.Builderoverride(Boolean override)A Boolean that determines whether CloudFront overrides theX-Frame-OptionsHTTP 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-OptionsHTTP 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-OptionsHTTP 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-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- Parameters:
frameOption- The value of theX-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN.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-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN.For more information about these values, see X-Frame-Options in the MDN Web Docs.
- Parameters:
frameOption- The value of theX-Frame-OptionsHTTP response header. Valid values areDENYandSAMEORIGIN.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
-
-