| Modifier and Type | Method and Description |
|---|---|
UsagePlan.Builder |
apiStages(List<? extends UsagePlanPerApiStage> apiStages)
API Stages to be associated with the usage plan.
|
UsagePlan |
build() |
static UsagePlan.Builder |
create(software.constructs.Construct scope,
String id) |
UsagePlan.Builder |
description(String description)
Represents usage plan purpose.
|
UsagePlan.Builder |
name(String name)
Name for this usage plan.
|
UsagePlan.Builder |
quota(QuotaSettings quota)
Number of requests clients can make in a given time period.
|
UsagePlan.Builder |
throttle(ThrottleSettings throttle)
Overall throttle settings for the API.
|
@Stability(value=Stable) public static UsagePlan.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.UsagePlan.Builder.@Stability(value=Stable) public UsagePlan.Builder apiStages(List<? extends UsagePlanPerApiStage> apiStages)
Default: none
apiStages - API Stages to be associated with the usage plan. This parameter is required.this@Stability(value=Stable) public UsagePlan.Builder description(String description)
Default: none
description - Represents usage plan purpose. This parameter is required.this@Stability(value=Stable) public UsagePlan.Builder name(String name)
Default: none
name - Name for this usage plan. This parameter is required.this@Stability(value=Stable) public UsagePlan.Builder quota(QuotaSettings quota)
Default: none
quota - Number of requests clients can make in a given time period. This parameter is required.this@Stability(value=Stable) public UsagePlan.Builder throttle(ThrottleSettings throttle)
Default: none
throttle - Overall throttle settings for the API. This parameter is required.thisCopyright © 2022. All rights reserved.