@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:21.382Z") @Stability(value=Experimental) public class UsagePlan extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
UsagePlan.Builder
(experimental) A fluent builder for
UsagePlan. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
UsagePlan(software.constructs.Construct scope,
String id) |
|
UsagePlan(software.constructs.Construct scope,
String id,
UsagePlanProps props) |
protected |
UsagePlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UsagePlan(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addApiKey(IApiKey apiKey)
(experimental) Adds an ApiKey.
|
void |
addApiStage(UsagePlanPerApiStage apiStage)
(experimental) Adds an apiStage.
|
String |
getUsagePlanId() |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected UsagePlan(software.amazon.jsii.JsiiObjectRef objRef)
protected UsagePlan(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public UsagePlan(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
UsagePlanProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public UsagePlan(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental)
public void addApiKey(@NotNull
IApiKey apiKey)
apiKey - This parameter is required.@Stability(value=Experimental)
public void addApiStage(@NotNull
UsagePlanPerApiStage apiStage)
apiStage - This parameter is required.@Stability(value=Experimental) @NotNull public String getUsagePlanId()
Copyright © 2021. All rights reserved.