Class OpenApiOptions.Jsii$Proxy

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, OpenApiOptions
    Enclosing interface:
    OpenApiOptions

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

      • 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.
    • Method Detail

      • getCorsOptions

        public final software.amazon.awscdk.services.apigateway.CorsOptions getCorsOptions()
        Description copied from interface: OpenApiOptions
        (experimental) Cross Origin Resource Sharing options for the API.
        Specified by:
        getCorsOptions in interface OpenApiOptions
      • getDefaultAuthorizer

        public final Authorizer getDefaultAuthorizer()
        Description copied from interface: OpenApiOptions
        (experimental) The default authorizer to use for your api.

        When omitted, no default authorizer is used. Authorizers specified at the integration level will override this for that operation.

        Specified by:
        getDefaultAuthorizer in interface OpenApiOptions
      • $jsii$toJson

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

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