Interface IUsagePlan.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IUsagePlan, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IUsagePlan.Jsii$Proxy
Enclosing interface:
IUsagePlan

@Internal public static interface IUsagePlan.Jsii$Default extends IUsagePlan, IResource.Jsii$Default
Internal default implementation for IUsagePlan.
  • Method Details

    • getUsagePlanId

      @Stability(Stable) @NotNull default String getUsagePlanId()
      Id of the usage plan.
      Specified by:
      getUsagePlanId in interface IUsagePlan
    • addApiKey

      @Stability(Stable) default void addApiKey(@NotNull IApiKey apiKey, @Nullable AddApiKeyOptions options)
      Adds an ApiKey.

      Specified by:
      addApiKey in interface IUsagePlan
      Parameters:
      apiKey - the api key to associate with this usage plan. This parameter is required.
      options - options that control the behaviour of this method.
    • addApiKey

      @Stability(Stable) default void addApiKey(@NotNull IApiKey apiKey)
      Adds an ApiKey.

      Specified by:
      addApiKey in interface IUsagePlan
      Parameters:
      apiKey - the api key to associate with this usage plan. This parameter is required.