@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResponseHeadersPolicyFrameOptions extends Object implements Serializable, Cloneable
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.
| Constructor and Description |
|---|
ResponseHeadersPolicyFrameOptions() |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersPolicyFrameOptions |
clone() |
boolean |
equals(Object obj) |
String |
getFrameOption()
The value of the
X-Frame-Options HTTP response header. |
Boolean |
getOverride()
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. |
int |
hashCode() |
Boolean |
isOverride()
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. |
void |
setFrameOption(String frameOption)
The value of the
X-Frame-Options HTTP response header. |
void |
setOverride(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. |
String |
toString()
Returns a string representation of this object.
|
ResponseHeadersPolicyFrameOptions |
withFrameOption(FrameOptionsList frameOption)
The value of the
X-Frame-Options HTTP response header. |
ResponseHeadersPolicyFrameOptions |
withFrameOption(String frameOption)
The value of the
X-Frame-Options HTTP response header. |
ResponseHeadersPolicyFrameOptions |
withOverride(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. |
public void setOverride(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.
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.public Boolean getOverride()
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 ResponseHeadersPolicyFrameOptions withOverride(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.
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.public Boolean isOverride()
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 void setFrameOption(String 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.
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.
FrameOptionsListpublic String getFrameOption()
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.
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 withFrameOption(String 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.
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.
FrameOptionsListpublic ResponseHeadersPolicyFrameOptions withFrameOption(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.
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.
FrameOptionsListpublic String toString()
toString in class ObjectObject.toString()public ResponseHeadersPolicyFrameOptions clone()