@Generated(value="software.amazon.awssdk:codegen") public final class ResponseHeadersPolicyContentTypeOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseHeadersPolicyContentTypeOptions.Builder,ResponseHeadersPolicyContentTypeOptions>
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value
set to nosniff.
For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options in
the MDN Web Docs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseHeadersPolicyContentTypeOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResponseHeadersPolicyContentTypeOptions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
override()
A Boolean that determines whether CloudFront overrides the
X-Content-Type-Options HTTP response
header received from the origin with the one specified in this response headers policy. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseHeadersPolicyContentTypeOptions.Builder> |
serializableBuilderClass() |
ResponseHeadersPolicyContentTypeOptions.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-Content-Type-Options HTTP response
header received from the origin with the one specified in this response headers policy.
X-Content-Type-Options HTTP
response header received from the origin with the one specified in this response headers policy.public ResponseHeadersPolicyContentTypeOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseHeadersPolicyContentTypeOptions.Builder,ResponseHeadersPolicyContentTypeOptions>public static ResponseHeadersPolicyContentTypeOptions.Builder builder()
public static Class<? extends ResponseHeadersPolicyContentTypeOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.