@Stability(value=Stable) public static final class CfnUsagePlanKeyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnUsagePlanKeyProps>
CfnUsagePlanKeyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUsagePlanKeyProps |
build()
Builds the configured instance.
|
CfnUsagePlanKeyProps.Builder |
keyId(String keyId)
Sets the value of
CfnUsagePlanKeyProps.getKeyId() |
CfnUsagePlanKeyProps.Builder |
keyType(String keyType)
Sets the value of
CfnUsagePlanKeyProps.getKeyType() |
CfnUsagePlanKeyProps.Builder |
usagePlanId(String usagePlanId)
Sets the value of
CfnUsagePlanKeyProps.getUsagePlanId() |
@Stability(value=Stable) public CfnUsagePlanKeyProps.Builder keyId(String keyId)
CfnUsagePlanKeyProps.getKeyId()keyId - The ID of the usage plan key. This parameter is required.this@Stability(value=Stable) public CfnUsagePlanKeyProps.Builder keyType(String keyType)
CfnUsagePlanKeyProps.getKeyType()keyType - The type of usage plan key. This parameter is required.
Currently, the only valid key type is API_KEY .this@Stability(value=Stable) public CfnUsagePlanKeyProps.Builder usagePlanId(String usagePlanId)
CfnUsagePlanKeyProps.getUsagePlanId()usagePlanId - The ID of the usage plan. This parameter is required.this@Stability(value=Stable) public CfnUsagePlanKeyProps build()
build in interface software.amazon.jsii.Builder<CfnUsagePlanKeyProps>CfnUsagePlanKeyPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.