Class CfnUsagePlanKeyProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnUsagePlanKeyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUsagePlanKeyProps>
- Enclosing interface:
- CfnUsagePlanKeyProps
@Stability(Stable)
public static final class CfnUsagePlanKeyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUsagePlanKeyProps>
A builder for
CfnUsagePlanKeyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUsagePlanKeyProps.getKeyId()Sets the value ofCfnUsagePlanKeyProps.getKeyType()usagePlanId(String usagePlanId) Sets the value ofCfnUsagePlanKeyProps.getUsagePlanId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyId
Sets the value ofCfnUsagePlanKeyProps.getKeyId()- Parameters:
keyId- The Id of the UsagePlanKey resource to be deleted. This parameter is required.- Returns:
this
-
keyType
Sets the value ofCfnUsagePlanKeyProps.getKeyType()- Parameters:
keyType- The type of a UsagePlanKey resource for a plan customer. This parameter is required.- Returns:
this
-
usagePlanId
Sets the value ofCfnUsagePlanKeyProps.getUsagePlanId()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUsagePlanKeyProps>- Returns:
- a new instance of
CfnUsagePlanKeyProps - Throws:
NullPointerException- if any required attribute was not provided
-