Interface ThrottlingPerMethod
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ThrottlingPerMethod.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.127Z")
@Stability(Stable)
public interface ThrottlingPerMethod
extends software.amazon.jsii.JsiiSerializable
Represents per-method throttling for a resource.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forThrottlingPerMethod
static final class
An implementation forThrottlingPerMethod
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThrottlingPerMethod.Builder
builder()
[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.Specifies the overall request rate (average requests per second) and burst capacity.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMethod
[disable-awslint:ref-via-interface] The method for which you specify the throttling settings.Default: none
-
getThrottle
Specifies the overall request rate (average requests per second) and burst capacity.Default: none
-
builder
- Returns:
- a
ThrottlingPerMethod.Builder
ofThrottlingPerMethod
-