CopyableBuilder<AccessKey.Builder,AccessKey>
, SdkBuilder<AccessKey.Builder,AccessKey>
public static interface AccessKey.Builder extends CopyableBuilder<AccessKey.Builder,AccessKey>
Modifier and Type | Method | Description |
---|---|---|
AccessKey.Builder |
accessKeyId(String accessKeyId) |
The ID for this access key.
|
AccessKey.Builder |
createDate(Date createDate) |
The date when the access key was created.
|
AccessKey.Builder |
secretAccessKey(String secretAccessKey) |
The secret key used to sign requests.
|
AccessKey.Builder |
status(String status) |
The status of the access key.
|
AccessKey.Builder |
status(StatusType 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
apply, 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
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
AccessKey.Builder secretAccessKey(String secretAccessKey)
The secret key used to sign requests.
secretAccessKey
- The secret key used to sign requests.AccessKey.Builder createDate(Date 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.