Interface UsagePlanPerApiStage

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
UsagePlanPerApiStage.Jsii$Proxy

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:13.806Z") @Stability(Stable) public interface UsagePlanPerApiStage extends software.amazon.jsii.JsiiSerializable
Represents the API stages that a usage plan applies to.

Example:

 UsagePlan plan;
 RestApi api;
 Method echoMethod;
 plan.addApiStage(UsagePlanPerApiStage.builder()
         .stage(api.getDeploymentStage())
         .throttle(List.of(ThrottlingPerMethod.builder()
                 .method(echoMethod)
                 .throttle(ThrottleSettings.builder()
                         .rateLimit(10)
                         .burstLimit(2)
                         .build())
                 .build()))
         .build());