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();
 
  • Method Details

    • getHttpMethod

      @Stability(Stable) @NotNull String getHttpMethod()
      The HttpMethod of the Method resource.
    • getResourceId

      @Stability(Stable) @NotNull String getResourceId()
      The ResourceId of the Method resource.
    • getRestApiId

      @Stability(Stable) @NotNull String getRestApiId()
      The RestApiId of the Method resource.
    • builder

      @Stability(Stable) static MethodReference.Builder builder()
      Returns:
      a MethodReference.Builder of MethodReference