public static interface CreateApiKeyRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateApiKeyRequest.Builder |
customerId(String customerId)
An AWS Marketplace customer identifier , when integrating with the AWS 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateApiKeyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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 |
value(String value)
Specifies a value of the API key.
|
buildrequestOverrideConfigcopyapply, 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.
generateDistinctId - Specifies whether (true) or not (false) the key identifier is distinct from
the created API key value.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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #stageKeys(List) .stageKeys - a consumer that will call methods on List.Builder #stageKeys(List) CreateApiKeyRequest.Builder customerId(String customerId)
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.CreateApiKeyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateApiKeyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.