public static interface ApiKey.Builder extends CopyableBuilder<ApiKey.Builder,ApiKey>
Modifier and Type | Method and Description |
---|---|
ApiKey.Builder |
createdDate(Instant createdDate)
The timestamp when the API Key was created.
|
ApiKey.Builder |
customerId(String customerId)
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
|
ApiKey.Builder |
description(String description)
The description of the API Key.
|
ApiKey.Builder |
enabled(Boolean enabled)
Specifies whether the API Key can be used by callers.
|
ApiKey.Builder |
id(String id)
The identifier of the API Key.
|
ApiKey.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The timestamp when the API Key was last updated.
|
ApiKey.Builder |
name(String name)
The name of the API Key.
|
ApiKey.Builder |
stageKeys(Collection<String> stageKeys)
|
ApiKey.Builder |
stageKeys(String... stageKeys)
|
ApiKey.Builder |
value(String value)
The value of the API Key.
|
copy
apply, build
ApiKey.Builder id(String id)
The identifier of the API Key.
id
- The identifier of the API Key.ApiKey.Builder value(String value)
The value of the API Key.
value
- The value of the API Key.ApiKey.Builder name(String name)
The name of the API Key.
name
- The name of the API Key.ApiKey.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.ApiKey.Builder description(String description)
The description of the API Key.
description
- The description of the API Key.ApiKey.Builder enabled(Boolean enabled)
Specifies whether the API Key can be used by callers.
enabled
- Specifies whether the API Key can be used by callers.ApiKey.Builder createdDate(Instant createdDate)
The timestamp when the API Key was created.
createdDate
- The timestamp when the API Key was created.ApiKey.Builder lastUpdatedDate(Instant lastUpdatedDate)
The timestamp when the API Key was last updated.
lastUpdatedDate
- The timestamp when the API Key was last updated.ApiKey.Builder stageKeys(Collection<String> stageKeys)
ApiKey.Builder stageKeys(String... stageKeys)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.