Class ProxyResourceOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ProxyResourceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ProxyResourceOptions
An implementation for ProxyResourceOptions
  • 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(ProxyResourceOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ProxyResourceOptions.Builder.
  • Method Details

    • getAnyMethod

      public final Boolean getAnyMethod()
      Description copied from interface: ProxyResourceOptions
      Adds an "ANY" method to this resource.

      If set to false, you will have to explicitly add methods to this resource after it's created.

      Default: true

      Specified by:
      getAnyMethod in interface ProxyResourceOptions
    • getDefaultCorsPreflightOptions

      public final CorsOptions getDefaultCorsPreflightOptions()
      Description copied from interface: ResourceOptions
      Adds a CORS preflight OPTIONS method to this resource and all child resources.

      You can add CORS at the resource-level using addCorsPreflight.

      Default: - CORS is disabled

      Specified by:
      getDefaultCorsPreflightOptions in interface ResourceOptions
    • getDefaultIntegration

      public final Integration getDefaultIntegration()
      Description copied from interface: ResourceOptions
      An integration to use as a default for all methods created within this API unless an integration is specified.

      Default: - Inherited from parent.

      Specified by:
      getDefaultIntegration in interface ResourceOptions
    • getDefaultMethodOptions

      public final MethodOptions getDefaultMethodOptions()
      Description copied from interface: ResourceOptions
      Method options to use as a default for all methods created within this API unless custom options are specified.

      Default: - Inherited from parent.

      Specified by:
      getDefaultMethodOptions in interface ResourceOptions
    • $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