Interface UsagePlanPerApiStage

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.132Z") @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());