Interface UsagePlanPerApiStage

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

@Generated(value="jsii-pacmak/1.95.0 (build f1ff514)", date="2024-03-26T18:09:18.968Z") @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());