public static interface ApiKey.Builder extends SdkPojo, CopyableBuilder<ApiKey.Builder,ApiKey>
Modifier and Type | Method and Description |
---|---|
ApiKey.Builder |
description(String description)
A description of the purpose of the API key.
|
ApiKey.Builder |
expires(Long expires)
The time after which the API key expires.
|
ApiKey.Builder |
id(String id)
The API key ID.
|
copy
applyMutation, build
ApiKey.Builder id(String id)
The API key ID.
id
- The API key ID.ApiKey.Builder description(String description)
A description of the purpose of the API key.
description
- A description of the purpose of the API key.ApiKey.Builder expires(Long expires)
The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
expires
- The time after which the API key expires. The date is represented as seconds since the epoch, rounded
down to the nearest hour.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.