@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:02.417Z") @Stability(value=Experimental) public interface MethodProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodProps.Builder
A builder for
MethodProps |
static class |
MethodProps.Jsii$Proxy
An implementation for
MethodProps |
| Modifier and Type | Method and Description |
|---|---|
static MethodProps.Builder |
builder() |
String |
getHttpMethod()
(experimental) The HTTP method ("GET", "POST", "PUT", ...) that clients use to call this method.
|
default Integration |
getIntegration()
(experimental) The backend system that the method calls when it receives a request.
|
default MethodOptions |
getOptions()
(experimental) Method options.
|
IResource |
getResource()
(experimental) The resource this method is associated with.
|
@Stability(value=Experimental) @NotNull String getHttpMethod()
@Stability(value=Experimental) @NotNull IResource getResource()
For root resource methods,
specify the RestApi object.
@Stability(value=Experimental) @Nullable default Integration getIntegration()
Default: - a new `MockIntegration`.
@Stability(value=Experimental) @Nullable default MethodOptions getOptions()
Default: - No options.
@Stability(value=Experimental) static MethodProps.Builder builder()
MethodProps.Builder of MethodPropsCopyright © 2020. All rights reserved.