Interface ResponseHeadersPolicyContentTypeOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseHeadersPolicyContentTypeOptions.Builder,,ResponseHeadersPolicyContentTypeOptions> SdkBuilder<ResponseHeadersPolicyContentTypeOptions.Builder,,ResponseHeadersPolicyContentTypeOptions> SdkPojo
- Enclosing class:
- ResponseHeadersPolicyContentTypeOptions
@Mutable
@NotThreadSafe
public static interface ResponseHeadersPolicyContentTypeOptions.Builder
extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyContentTypeOptions.Builder,ResponseHeadersPolicyContentTypeOptions>
-
Method Summary
Modifier and TypeMethodDescriptionA Boolean that determines whether CloudFront overrides theX-Content-Type-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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
override
A Boolean that determines whether CloudFront overrides the
X-Content-Type-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-Content-Type-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.
-