Interface ThrottlingPerMethod
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ThrottlingPerMethod.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.413Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forThrottlingPerMethodstatic final classAn implementation forThrottlingPerMethod -
Method Summary
Modifier and TypeMethodDescriptionstatic ThrottlingPerMethod.Builderbuilder()[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.BuilderofThrottlingPerMethod
-