public static final class ProxyResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ProxyResourceProps
ProxyResourceProps
ProxyResourceProps.Builder, ProxyResourceProps.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) |
java.lang.Boolean |
getAnyMethod()
Adds an "ANY" method to this resource.
|
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.
|
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()
ProxyResourceProps
You can either pass another
Resource
object or a RestApi
object here.
getParent
in interface ProxyResourceProps
public final java.lang.Boolean getAnyMethod()
ProxyResourceOptions
If set to false
, you will have to explicitly
add methods to this resource after it's created.
Default: true
getAnyMethod
in interface ProxyResourceOptions
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()