public static interface UpdateAccessKeyRequest.Builder extends IamRequest.Builder, CopyableBuilder<UpdateAccessKeyRequest.Builder,UpdateAccessKeyRequest>
Modifier and Type | Method and Description |
---|---|
UpdateAccessKeyRequest.Builder |
accessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
|
UpdateAccessKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateAccessKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateAccessKeyRequest.Builder |
status(StatusType status)
The status you want to assign to the secret access key.
|
UpdateAccessKeyRequest.Builder |
status(String 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.
|
build
overrideConfiguration
copy
applyMutation, 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
,
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
,
StatusType
UpdateAccessKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateAccessKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.