@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.904Z") @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 |
addApiKey(IApiKey apiKey,
AddApiKeyOptions options)
(experimental) Adds an ApiKey.
|
void |
addApiStage(UsagePlanPerApiStage apiStage)
(experimental) Adds an apiStage.
|
String |
getUsagePlanId() |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected 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,
@Nullable
AddApiKeyOptions options)
apiKey - the api key to associate with this usage plan. This parameter is required.options - options that control the behaviour of this method.@Stability(value=Experimental)
public void addApiKey(@NotNull
IApiKey apiKey)
apiKey - the api key to associate with this usage plan. 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.