CopyableBuilder<UpdateAccessKeyRequest.Builder,UpdateAccessKeyRequest>
, SdkBuilder<UpdateAccessKeyRequest.Builder,UpdateAccessKeyRequest>
public static interface UpdateAccessKeyRequest.Builder extends CopyableBuilder<UpdateAccessKeyRequest.Builder,UpdateAccessKeyRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateAccessKeyRequest.Builder |
accessKeyId(String accessKeyId) |
The access key ID of the secret access key you want to update.
|
UpdateAccessKeyRequest.Builder |
status(String status) |
The status you want to assign to the secret access key.
|
UpdateAccessKeyRequest.Builder |
status(StatusType status) |
The status you want to assign to the secret access key.
|
UpdateAccessKeyRequest.Builder |
userName(String userName) |
The name of the user whose key you want to update.
|
copy
apply, build
UpdateAccessKeyRequest.Builder userName(String userName)
The name of the user whose key you want to update.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the user whose key you want to update.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
UpdateAccessKeyRequest.Builder accessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
accessKeyId
- The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
UpdateAccessKeyRequest.Builder status(String status)
The status you want to assign to the secret access key. Active
means the key can be used for API
calls to AWS, while Inactive
means the key cannot be used.
status
- The status you want to assign to the secret access key. Active
means the key can be used
for API calls to AWS, while Inactive
means the key cannot be used.StatusType
UpdateAccessKeyRequest.Builder status(StatusType status)
The status you want to assign to the secret access key. Active
means the key can be used for API
calls to AWS, while Inactive
means the key cannot be used.
status
- The status you want to assign to the secret access key. Active
means the key can be used
for API calls to AWS, while Inactive
means the key cannot be used.StatusType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.