Class CfnUsagePlanKey.Builder

java.lang.Object
software.amazon.awscdk.services.apigateway.CfnUsagePlanKey.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUsagePlanKey>
Enclosing class:
CfnUsagePlanKey

@Stability(Stable) public static final class CfnUsagePlanKey.Builder extends Object implements software.amazon.jsii.Builder<CfnUsagePlanKey>
A fluent builder for CfnUsagePlanKey.
  • Method Details

    • create

      @Stability(Stable) public static CfnUsagePlanKey.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnUsagePlanKey.Builder.
    • keyId

      @Stability(Stable) public CfnUsagePlanKey.Builder keyId(String keyId)
      The Id of the UsagePlanKey resource to be deleted.

      Parameters:
      keyId - The Id of the UsagePlanKey resource to be deleted. This parameter is required.
      Returns:
      this
    • keyType

      @Stability(Stable) public CfnUsagePlanKey.Builder keyType(String keyType)
      The type of a UsagePlanKey resource for a plan customer.

      Parameters:
      keyType - The type of a UsagePlanKey resource for a plan customer. This parameter is required.
      Returns:
      this
    • usagePlanId

      @Stability(Stable) public CfnUsagePlanKey.Builder usagePlanId(String usagePlanId)
      The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

      Parameters:
      usagePlanId - The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnUsagePlanKey build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnUsagePlanKey>
      Returns:
      a newly built instance of CfnUsagePlanKey.