Class ResponseHeadersContentTypeOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ResponseHeadersContentTypeOptions.Jsii$Proxy
All Implemented Interfaces:
ResponseHeadersContentTypeOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ResponseHeadersContentTypeOptions

@Stability(Stable) @Internal public static final class ResponseHeadersContentTypeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResponseHeadersContentTypeOptions
An implementation for ResponseHeadersContentTypeOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ResponseHeadersContentTypeOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ResponseHeadersContentTypeOptions.Builder.
  • Method Details

    • getOverride

      public final Boolean getOverride()
      Description copied from interface: ResponseHeadersContentTypeOptions
      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.
      Specified by:
      getOverride in interface ResponseHeadersContentTypeOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object