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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnUsagePlanKey.Builder
The Id of the UsagePlanKey resource.The type of a UsagePlanKey resource for a plan customer.usagePlanId
(String usagePlanId) The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer.
-
Method Details
-
create
@Stability(Stable) public static CfnUsagePlanKey.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUsagePlanKey.Builder
.
-
keyId
The Id of the UsagePlanKey resource.- Parameters:
keyId
- The Id of the UsagePlanKey resource. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
usagePlanId
The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer.- Parameters:
usagePlanId
- The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUsagePlanKey>
- Returns:
- a newly built instance of
CfnUsagePlanKey
.
-