public static interface AccessKey.Builder extends CopyableBuilder<AccessKey.Builder,AccessKey>
Modifier and Type | Method and Description |
---|---|
AccessKey.Builder |
accessKeyId(String accessKeyId)
The ID for this access key.
|
AccessKey.Builder |
createDate(Instant createDate)
The date when the access key was created.
|
AccessKey.Builder |
secretAccessKey(String secretAccessKey)
The secret key used to sign requests.
|
AccessKey.Builder |
status(StatusType status)
The status of the access key.
|
AccessKey.Builder |
status(String status)
The status of the access key.
|
AccessKey.Builder |
userName(String userName)
The name of the IAM user that the access key is associated with.
|
copy
applyMutation, build
AccessKey.Builder userName(String userName)
The name of the IAM user that the access key is associated with.
userName
- The name of the IAM user that the access key is associated with.AccessKey.Builder accessKeyId(String accessKeyId)
The ID for this access key.
accessKeyId
- The ID for this access key.AccessKey.Builder status(String status)
The status of the access key. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the access key. Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
,
StatusType
AccessKey.Builder status(StatusType status)
The status of the access key. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the access key. Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
,
StatusType
AccessKey.Builder secretAccessKey(String secretAccessKey)
The secret key used to sign requests.
secretAccessKey
- The secret key used to sign requests.AccessKey.Builder createDate(Instant createDate)
The date when the access key was created.
createDate
- The date when the access key was created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.