@Stability(value=Stable) public static final class CfnApiKeyProps.Builder extends Object implements software.amazon.jsii.Builder<CfnApiKeyProps>
CfnApiKeyProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnApiKeyProps.Builder customerId(String customerId)
CfnApiKeyProps.getCustomerId()customerId - An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.this@Stability(value=Stable) public CfnApiKeyProps.Builder description(String description)
CfnApiKeyProps.getDescription()description - A description of the purpose of the API key.this@Stability(value=Stable) public CfnApiKeyProps.Builder enabled(Boolean enabled)
CfnApiKeyProps.getEnabled()enabled - Indicates whether the API key can be used by clients.this@Stability(value=Stable) public CfnApiKeyProps.Builder enabled(IResolvable enabled)
CfnApiKeyProps.getEnabled()enabled - Indicates whether the API key can be used by clients.this@Stability(value=Stable) public CfnApiKeyProps.Builder generateDistinctId(Boolean generateDistinctId)
CfnApiKeyProps.getGenerateDistinctId()generateDistinctId - Specifies whether the key identifier is distinct from the created API key value.
This parameter is deprecated and should not be used.this@Stability(value=Stable) public CfnApiKeyProps.Builder generateDistinctId(IResolvable generateDistinctId)
CfnApiKeyProps.getGenerateDistinctId()generateDistinctId - Specifies whether the key identifier is distinct from the created API key value.
This parameter is deprecated and should not be used.this@Stability(value=Stable) public CfnApiKeyProps.Builder name(String name)
CfnApiKeyProps.getName()name - A name for the API key.
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the API key name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
this@Stability(value=Stable) public CfnApiKeyProps.Builder stageKeys(IResolvable stageKeys)
CfnApiKeyProps.getStageKeys()stageKeys - A list of stages to associate with this API key.this@Stability(value=Stable) public CfnApiKeyProps.Builder stageKeys(List<? extends Object> stageKeys)
CfnApiKeyProps.getStageKeys()stageKeys - A list of stages to associate with this API key.this@Stability(value=Stable) public CfnApiKeyProps.Builder tags(List<? extends CfnTag> tags)
CfnApiKeyProps.getTags()tags - An array of arbitrary tags (key-value pairs) to associate with the API key.this@Stability(value=Stable) public CfnApiKeyProps.Builder value(String value)
CfnApiKeyProps.getValue()value - The value of the API key.
Must be at least 20 characters long.this@Stability(value=Stable) public CfnApiKeyProps build()
build in interface software.amazon.jsii.Builder<CfnApiKeyProps>CfnApiKeyPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.