public static final class ResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceProps
ResourceProps
ResourceProps.Builder, ResourceProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
CorsOptions |
getDefaultCorsPreflightOptions()
Adds a CORS preflight OPTIONS method to this resource and all child resources.
|
Integration |
getDefaultIntegration()
An integration to use as a default for all methods created within this API unless an integration is specified.
|
MethodOptions |
getDefaultMethodOptions()
Method options to use as a default for all methods created within this API unless custom options are specified.
|
IResource |
getParent()
The parent resource of this resource.
|
java.lang.String |
getPathPart()
A path name for the resource.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IResource getParent()
ResourceProps
You can either pass another
Resource
object or a RestApi
object here.
getParent
in interface ResourceProps
public final java.lang.String getPathPart()
ResourceProps
getPathPart
in interface ResourceProps
public final CorsOptions getDefaultCorsPreflightOptions()
ResourceOptions
You can add CORS at the resource-level using addCorsPreflight
.
Default: - CORS is disabled
getDefaultCorsPreflightOptions
in interface ResourceOptions
public final Integration getDefaultIntegration()
ResourceOptions
Default: - Inherited from parent.
getDefaultIntegration
in interface ResourceOptions
public final MethodOptions getDefaultMethodOptions()
ResourceOptions
Default: - Inherited from parent.
getDefaultMethodOptions
in interface ResourceOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()