@Stability(value=Experimental) public static final class UsagePlanProps.Builder extends Object implements software.amazon.jsii.Builder<UsagePlanProps>
UsagePlanProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UsagePlanProps.Builder |
apiStages(List<? extends UsagePlanPerApiStage> apiStages)
Sets the value of
UsagePlanProps.getApiStages() |
UsagePlanProps |
build()
Builds the configured instance.
|
UsagePlanProps.Builder |
description(String description)
Sets the value of
UsagePlanProps.getDescription() |
UsagePlanProps.Builder |
name(String name)
Sets the value of
UsagePlanProps.getName() |
UsagePlanProps.Builder |
quota(QuotaSettings quota)
Sets the value of
UsagePlanProps.getQuota() |
UsagePlanProps.Builder |
throttle(ThrottleSettings throttle)
Sets the value of
UsagePlanProps.getThrottle() |
@Stability(value=Experimental) public UsagePlanProps.Builder apiStages(List<? extends UsagePlanPerApiStage> apiStages)
UsagePlanProps.getApiStages()apiStages - API Stages to be associated with the usage plan.this@Stability(value=Experimental) public UsagePlanProps.Builder description(String description)
UsagePlanProps.getDescription()description - Represents usage plan purpose.this@Stability(value=Experimental) public UsagePlanProps.Builder name(String name)
UsagePlanProps.getName()name - Name for this usage plan.this@Stability(value=Experimental) public UsagePlanProps.Builder quota(QuotaSettings quota)
UsagePlanProps.getQuota()quota - Number of requests clients can make in a given time period.this@Stability(value=Experimental) public UsagePlanProps.Builder throttle(ThrottleSettings throttle)
UsagePlanProps.getThrottle()throttle - Overall throttle settings for the API.this@Stability(value=Experimental) public UsagePlanProps build()
build in interface software.amazon.jsii.Builder<UsagePlanProps>UsagePlanPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.