Class ResourceProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceProps
An implementation for ResourceProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.ResourceProps

    ResourceProps.Builder, ResourceProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ResourceProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    Adds a CORS preflight OPTIONS method to this resource and all child resources.
    An integration to use as a default for all methods created within this API unless an integration is specified.
    Method options to use as a default for all methods created within this API unless custom options are specified.
    final IResource
    The parent resource of this resource.
    final String
    A path name for the resource.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(ResourceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ResourceProps.Builder.
  • Method Details

    • getParent

      public final IResource getParent()
      Description copied from interface: ResourceProps
      The parent resource of this resource.

      You can either pass another Resource object or a RestApi object here.

      Specified by:
      getParent in interface ResourceProps
    • getPathPart

      public final String getPathPart()
      Description copied from interface: ResourceProps
      A path name for the resource.
      Specified by:
      getPathPart in interface ResourceProps
    • 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