CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
, SdkBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
public static interface CreateApiKeyRequest.Builder extends CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
Modifier and Type | Method | 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 |
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.
|
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.
NOTE: This method appends the values to the existing list (if any). Use
#setStageKeys(java.util.Collection)
or #withStageKeys(java.util.Collection)
if you want to
override the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.