public static interface CreateApiKeyRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateApiKeyRequest.Builder |
customerId(String customerId)
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS
Marketplace.
|
CreateApiKeyRequest.Builder |
description(String description)
The description of the ApiKey.
|
CreateApiKeyRequest.Builder |
enabled(Boolean enabled)
Specifies whether the ApiKey can be used by callers.
|
CreateApiKeyRequest.Builder |
generateDistinctId(Boolean generateDistinctId)
Specifies whether (
true) or not (false) the key identifier is distinct from the
created API key value. |
CreateApiKeyRequest.Builder |
name(String name)
The name of the ApiKey.
|
CreateApiKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateApiKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateApiKeyRequest.Builder |
stageKeys(Collection<StageKey> stageKeys)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
|
CreateApiKeyRequest.Builder |
stageKeys(Consumer<StageKey.Builder>... stageKeys)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
|
CreateApiKeyRequest.Builder |
stageKeys(StageKey... stageKeys)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
|
CreateApiKeyRequest.Builder |
tags(Map<String,String> tags)
The key-value map of strings.
|
CreateApiKeyRequest.Builder |
value(String value)
Specifies a value of the API key.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateApiKeyRequest.Builder name(String name)
The name of the ApiKey.
name - The name of the ApiKey.CreateApiKeyRequest.Builder description(String description)
The description of the ApiKey.
description - The description of the ApiKey.CreateApiKeyRequest.Builder enabled(Boolean enabled)
Specifies whether the ApiKey can be used by callers.
enabled - Specifies whether the ApiKey can be used by callers.CreateApiKeyRequest.Builder generateDistinctId(Boolean generateDistinctId)
Specifies whether (true) or not (false) the key identifier is distinct from the
created API key value. This parameter is deprecated and should not be used.
generateDistinctId - Specifies whether (true) or not (false) the key identifier is distinct from
the created API key value. This parameter is deprecated and should not be used.CreateApiKeyRequest.Builder value(String value)
Specifies a value of the API key.
value - Specifies a value of the API key.CreateApiKeyRequest.Builder stageKeys(Collection<StageKey> stageKeys)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
stageKeys - DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.CreateApiKeyRequest.Builder stageKeys(StageKey... stageKeys)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
stageKeys - DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.CreateApiKeyRequest.Builder stageKeys(Consumer<StageKey.Builder>... stageKeys)
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
This is a convenience method that creates an instance of theStageKey.Builder avoiding the need to create one
manually via StageKey.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #stageKeys(List.
stageKeys - a consumer that will call methods on
StageKey.Builder#stageKeys(java.util.Collection) CreateApiKeyRequest.Builder customerId(String customerId)
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
customerId - An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services
SaaS Marketplace.CreateApiKeyRequest.Builder tags(Map<String,String> tags)
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:. The tag value can be up to 256 characters.
tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:. The tag value can be up to 256 characters.CreateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.