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 |
stageKeys(Collection<StageKey> 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.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateApiKeyRequest.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 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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.