@Stability(value=Experimental) @Internal public static final class MethodProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MethodProps
MethodPropssoftware.amazon.jsii.JsiiObject.InitializationModeMethodProps.Builder, MethodProps.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(String httpMethod,
IResource resource,
Integration integration,
MethodOptions options)
Constructor that initializes the object based on literal property values passed by the
MethodProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getHttpMethod()
(experimental) The HTTP method ("GET", "POST", "PUT", ...) that clients use to call this method.
|
Integration |
getIntegration()
(experimental) The backend system that the method calls when it receives a request.
|
MethodOptions |
getOptions()
(experimental) Method options.
|
IResource |
getResource()
(experimental) The resource this method is associated with.
|
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(String httpMethod, IResource resource, Integration integration, MethodOptions options)
MethodProps.Builder.public final String getHttpMethod()
MethodPropsgetHttpMethod in interface MethodPropspublic final IResource getResource()
MethodProps
For root resource methods,
specify the RestApi object.
getResource in interface MethodPropspublic final Integration getIntegration()
MethodPropsDefault: - a new `MockIntegration`.
getIntegration in interface MethodPropspublic final MethodOptions getOptions()
MethodPropsDefault: - No options.
getOptions in interface MethodProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.