@Stability(value=Experimental) public static final class ThrottlingPerMethod.Builder extends Object implements software.amazon.jsii.Builder<ThrottlingPerMethod>
ThrottlingPerMethod| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ThrottlingPerMethod |
build()
Builds the configured instance.
|
ThrottlingPerMethod.Builder |
method(Method method)
Sets the value of
ThrottlingPerMethod.getMethod() |
ThrottlingPerMethod.Builder |
throttle(ThrottleSettings throttle)
Sets the value of
ThrottlingPerMethod.getThrottle() |
@Stability(value=Experimental) public ThrottlingPerMethod.Builder method(Method method)
ThrottlingPerMethod.getMethod()method - [disable-awslint:ref-via-interface] The method for which you specify the throttling settings. This parameter is required.this@Stability(value=Experimental) public ThrottlingPerMethod.Builder throttle(ThrottleSettings throttle)
ThrottlingPerMethod.getThrottle()throttle - Specifies the overall request rate (average requests per second) and burst capacity. This parameter is required.this@Stability(value=Experimental) public ThrottlingPerMethod build()
build in interface software.amazon.jsii.Builder<ThrottlingPerMethod>ThrottlingPerMethodNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.