@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:46.063Z") @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 © 2021. All rights reserved.