@Stability(value=Stable) public static final class CfnUsagePlan.Builder extends Object implements software.amazon.jsii.Builder<CfnUsagePlan>
CfnUsagePlan.| Modifier and Type | Method and Description |
|---|---|
CfnUsagePlan.Builder |
apiStages(IResolvable apiStages)
The API stages to associate with this usage plan.
|
CfnUsagePlan.Builder |
apiStages(List<? extends Object> apiStages)
The API stages to associate with this usage plan.
|
CfnUsagePlan |
build() |
static CfnUsagePlan.Builder |
create(software.constructs.Construct scope,
String id) |
CfnUsagePlan.Builder |
description(String description)
A description of the usage plan.
|
CfnUsagePlan.Builder |
quota(CfnUsagePlan.QuotaSettingsProperty quota)
Configures the number of requests that users can make within a given interval.
|
CfnUsagePlan.Builder |
quota(IResolvable quota)
Configures the number of requests that users can make within a given interval.
|
CfnUsagePlan.Builder |
tags(List<? extends CfnTag> tags)
An array of arbitrary tags (key-value pairs) to associate with the usage plan.
|
CfnUsagePlan.Builder |
throttle(CfnUsagePlan.ThrottleSettingsProperty throttle)
Configures the overall request rate (average requests per second) and burst capacity.
|
CfnUsagePlan.Builder |
throttle(IResolvable throttle)
Configures the overall request rate (average requests per second) and burst capacity.
|
CfnUsagePlan.Builder |
usagePlanName(String usagePlanName)
A name for the usage plan.
|
@Stability(value=Stable) public static CfnUsagePlan.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnUsagePlan.ApiStageProperty.Builder.@Stability(value=Stable) public CfnUsagePlan.Builder apiStages(IResolvable apiStages)
apiStages - The API stages to associate with this usage plan. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder apiStages(List<? extends Object> apiStages)
apiStages - The API stages to associate with this usage plan. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder description(String description)
description - A description of the usage plan. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder quota(CfnUsagePlan.QuotaSettingsProperty quota)
quota - Configures the number of requests that users can make within a given interval. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder quota(IResolvable quota)
quota - Configures the number of requests that users can make within a given interval. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder tags(List<? extends CfnTag> tags)
tags - An array of arbitrary tags (key-value pairs) to associate with the usage plan. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder throttle(CfnUsagePlan.ThrottleSettingsProperty throttle)
throttle - Configures the overall request rate (average requests per second) and burst capacity. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder throttle(IResolvable throttle)
throttle - Configures the overall request rate (average requests per second) and burst capacity. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan.Builder usagePlanName(String usagePlanName)
usagePlanName - A name for the usage plan. This parameter is required.this@Stability(value=Stable) public CfnUsagePlan build()
build in interface software.amazon.jsii.Builder<CfnUsagePlan>Copyright © 2022. All rights reserved.