@Stability(value=Stable) public static final class CfnUsagePlan.ApiStageProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnUsagePlan.ApiStageProperty>
CfnUsagePlan.ApiStageProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUsagePlan.ApiStageProperty.Builder |
apiId(String apiId)
Sets the value of
CfnUsagePlan.ApiStageProperty.getApiId() |
CfnUsagePlan.ApiStageProperty |
build()
Builds the configured instance.
|
CfnUsagePlan.ApiStageProperty.Builder |
stage(String stage)
Sets the value of
CfnUsagePlan.ApiStageProperty.getStage() |
CfnUsagePlan.ApiStageProperty.Builder |
throttle(IResolvable throttle)
Sets the value of
CfnUsagePlan.ApiStageProperty.getThrottle() |
CfnUsagePlan.ApiStageProperty.Builder |
throttle(Map<String,? extends Object> throttle)
Sets the value of
CfnUsagePlan.ApiStageProperty.getThrottle() |
@Stability(value=Stable) public CfnUsagePlan.ApiStageProperty.Builder apiId(String apiId)
CfnUsagePlan.ApiStageProperty.getApiId()apiId - The ID of an API that is in the specified `Stage` property that you want to associate with the usage plan.this@Stability(value=Stable) public CfnUsagePlan.ApiStageProperty.Builder stage(String stage)
CfnUsagePlan.ApiStageProperty.getStage()stage - The name of the stage to associate with the usage plan.this@Stability(value=Stable) public CfnUsagePlan.ApiStageProperty.Builder throttle(IResolvable throttle)
CfnUsagePlan.ApiStageProperty.getThrottle()throttle - Map containing method-level throttling information for an API stage in a usage plan.
The key for the map is the path and method for which to configure custom throttling, for example, "/pets/GET".
Duplicates are not allowed.
this@Stability(value=Stable) public CfnUsagePlan.ApiStageProperty.Builder throttle(Map<String,? extends Object> throttle)
CfnUsagePlan.ApiStageProperty.getThrottle()throttle - Map containing method-level throttling information for an API stage in a usage plan.
The key for the map is the path and method for which to configure custom throttling, for example, "/pets/GET".
Duplicates are not allowed.
this@Stability(value=Stable) public CfnUsagePlan.ApiStageProperty build()
build in interface software.amazon.jsii.Builder<CfnUsagePlan.ApiStageProperty>CfnUsagePlan.ApiStagePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.