@Generated(value="software.amazon.awssdk:codegen") public final class ResponseHeadersPolicyFrameOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseHeadersPolicyFrameOptions.Builder,ResponseHeadersPolicyFrameOptions>
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.
For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web
Docs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseHeadersPolicyFrameOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicyFrameOptions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FrameOptionsList |
frameOption()
The value of the
X-Frame-Options HTTP response header. |
String |
frameOptionAsString()
The value of the
X-Frame-Options HTTP response header. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseHeadersPolicyFrameOptions.Builder> |
serializableBuilderClass() |
ResponseHeadersPolicyFrameOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
X-Frame-Options HTTP response
header received from the origin with the one specified in this response headers policy.public final 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.
If the service returns an enum value that is not available in the current SDK version, frameOption will
return FrameOptionsList.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
frameOptionAsString().
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.
FrameOptionsListpublic final String frameOptionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, frameOption will
return FrameOptionsList.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
frameOptionAsString().
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.
FrameOptionsListpublic ResponseHeadersPolicyFrameOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseHeadersPolicyFrameOptions.Builder,ResponseHeadersPolicyFrameOptions>public static ResponseHeadersPolicyFrameOptions.Builder builder()
public static Class<? extends ResponseHeadersPolicyFrameOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.