public static interface UpdateAccessKeyRequest.Builder extends IamRequest.Builder, SdkPojo, 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) |
UpdateAccessKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateAccessKeyRequest.Builder userName(String userName)
The name of the user whose key you want to update.
This parameter allows (through 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 (through 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 (through 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 (through 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 that the key can be used
for programmatic calls to AWS, while Inactive
means that the key cannot be used.
status
- The status you want to assign to the secret access key. Active
means that the key can be
used for programmatic calls to AWS, while Inactive
means that 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 that the key can be used
for programmatic calls to AWS, while Inactive
means that the key cannot be used.
status
- The status you want to assign to the secret access key. Active
means that the key can be
used for programmatic calls to AWS, while Inactive
means that the key cannot be used.StatusType
,
StatusType
UpdateAccessKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateAccessKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.