Interface MethodReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MethodReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:19.813Z")
@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.interfaces.apigateway.*;
MethodReference methodReference = MethodReference.builder()
.httpMethod("httpMethod")
.resourceId("resourceId")
.restApiId("restApiId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMethodReferencestatic final classAn implementation forMethodReference -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodReference.Builderbuilder()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.BuilderofMethodReference
-