@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.242Z") @Stability(value=Stable) public interface UsagePlanPerApiStage extends software.amazon.jsii.JsiiSerializable
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
UsagePlanPerApiStage.Builder
A builder for
UsagePlanPerApiStage |
static class |
UsagePlanPerApiStage.Jsii$Proxy
An implementation for
UsagePlanPerApiStage |
| Modifier and Type | Method and Description |
|---|---|
static UsagePlanPerApiStage.Builder |
builder() |
default IRestApi |
getApi()
Default: none
|
default Stage |
getStage()
[disable-awslint:ref-via-interface].
|
default List<ThrottlingPerMethod> |
getThrottle()
Default: none
|
@Stability(value=Stable) @Nullable default IRestApi getApi()
@Stability(value=Stable) @Nullable default Stage getStage()
Default: none
@Stability(value=Stable) @Nullable default List<ThrottlingPerMethod> getThrottle()
@Stability(value=Stable) static UsagePlanPerApiStage.Builder builder()
UsagePlanPerApiStage.Builder of UsagePlanPerApiStageCopyright © 2022. All rights reserved.