@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.240Z") @Stability(value=Stable) public interface ThrottlingPerMethod extends software.amazon.jsii.JsiiSerializable
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.*;
Method method;
ThrottlingPerMethod throttlingPerMethod = ThrottlingPerMethod.builder()
.method(method)
.throttle(ThrottleSettings.builder()
.burstLimit(123)
.rateLimit(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ThrottlingPerMethod.Builder
A builder for
ThrottlingPerMethod |
static class |
ThrottlingPerMethod.Jsii$Proxy
An implementation for
ThrottlingPerMethod |
| Modifier and Type | Method and Description |
|---|---|
static ThrottlingPerMethod.Builder |
builder() |
Method |
getMethod()
[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.
|
ThrottleSettings |
getThrottle()
Specifies the overall request rate (average requests per second) and burst capacity.
|
@Stability(value=Stable) @NotNull Method getMethod()
Default: none
@Stability(value=Stable) @NotNull ThrottleSettings getThrottle()
Default: none
@Stability(value=Stable) static ThrottlingPerMethod.Builder builder()
ThrottlingPerMethod.Builder of ThrottlingPerMethodCopyright © 2022. All rights reserved.