Class CfnUsagePlanPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnUsagePlanPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUsagePlanPropsMixin>
- Enclosing class:
CfnUsagePlanPropsMixin
@Stability(Stable)
public static final class CfnUsagePlanPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUsagePlanPropsMixin>
A fluent builder for
CfnUsagePlanPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe associated API stages of a usage plan.apiStages(IResolvable apiStages) The associated API stages of a usage plan.build()create()create(CfnPropertyMixinOptions options) description(String description) The description of a usage plan.The target maximum number of permitted requests per a given unit time interval.quota(IResolvable quota) The target maximum number of permitted requests per a given unit time interval.The collection of tags.A map containing method level throttling information for API stage in a usage plan.throttle(IResolvable throttle) A map containing method level throttling information for API stage in a usage plan.usagePlanName(String usagePlanName) The name of a usage plan.
-
Method Details
-
create
@Stability(Stable) public static CfnUsagePlanPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUsagePlanPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUsagePlanPropsMixin.Builder.
-
apiStages
The associated API stages of a usage plan.- Parameters:
apiStages- The associated API stages of a usage plan. This parameter is required.- Returns:
this- See Also:
-
apiStages
@Stability(Stable) public CfnUsagePlanPropsMixin.Builder apiStages(List<? extends Object> apiStages) The associated API stages of a usage plan.- Parameters:
apiStages- The associated API stages of a usage plan. This parameter is required.- Returns:
this- See Also:
-
description
The description of a usage plan.- Parameters:
description- The description of a usage plan. This parameter is required.- Returns:
this- See Also:
-
quota
The target maximum number of permitted requests per a given unit time interval.- Parameters:
quota- The target maximum number of permitted requests per a given unit time interval. This parameter is required.- Returns:
this- See Also:
-
quota
@Stability(Stable) public CfnUsagePlanPropsMixin.Builder quota(CfnUsagePlanPropsMixin.QuotaSettingsProperty quota) The target maximum number of permitted requests per a given unit time interval.- Parameters:
quota- The target maximum number of permitted requests per a given unit time interval. This parameter is required.- Returns:
this- See Also:
-
tags
The collection of tags.Each tag element is associated with a given resource.
- Parameters:
tags- The collection of tags. This parameter is required.- Returns:
this- See Also:
-
throttle
A map containing method level throttling information for API stage in a usage plan.- Parameters:
throttle- A map containing method level throttling information for API stage in a usage plan. This parameter is required.- Returns:
this- See Also:
-
throttle
@Stability(Stable) public CfnUsagePlanPropsMixin.Builder throttle(CfnUsagePlanPropsMixin.ThrottleSettingsProperty throttle) A map containing method level throttling information for API stage in a usage plan.- Parameters:
throttle- A map containing method level throttling information for API stage in a usage plan. This parameter is required.- Returns:
this- See Also:
-
usagePlanName
The name of a usage plan.- Parameters:
usagePlanName- The name of a usage plan. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUsagePlanPropsMixin>- Returns:
- a newly built instance of
CfnUsagePlanPropsMixin.
-