Interface MethodReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MethodReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:51:50.915Z")
@Stability(Stable)
public interface MethodReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Method resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigateway.*; MethodReference methodReference = MethodReference.builder() .httpMethod("httpMethod") .resourceId("resourceId") .restApiId("restApiId") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forMethodReference
static final class
An implementation forMethodReference
-
Method Summary
Modifier and TypeMethodDescriptionstatic MethodReference.Builder
builder()
The HttpMethod of the Method resource.The ResourceId of the Method resource.The RestApiId of the Method resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpMethod
The HttpMethod of the Method resource. -
getResourceId
The ResourceId of the Method resource. -
getRestApiId
The RestApiId of the Method resource. -
builder
- Returns:
- a
MethodReference.Builder
ofMethodReference
-