@Stability(value=Stable) @Internal public static final class ResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceProps
ResourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeResourceProps.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.
|
protected |
Jsii$Proxy(ResourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ResourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(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.
|
String |
getPathPart()
A path name for the resource.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ResourceProps.Builder builder)
ResourceProps.Builder.public final IResource getParent()
ResourceProps
You can either pass another
Resource object or a RestApi object here.
getParent in interface ResourcePropspublic final String getPathPart()
ResourcePropsgetPathPart in interface ResourcePropspublic final CorsOptions getDefaultCorsPreflightOptions()
ResourceOptions
You can add CORS at the resource-level using addCorsPreflight.
Default: - CORS is disabled
getDefaultCorsPreflightOptions in interface ResourceOptionspublic final Integration getDefaultIntegration()
ResourceOptionsDefault: - Inherited from parent.
getDefaultIntegration in interface ResourceOptionspublic final MethodOptions getDefaultMethodOptions()
ResourceOptionsDefault: - Inherited from parent.
getDefaultMethodOptions in interface ResourceOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.