public static interface UpdateKeyDescriptionRequest.Builder extends KmsRequest.Builder, SdkPojo, CopyableBuilder<UpdateKeyDescriptionRequest.Builder,UpdateKeyDescriptionRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateKeyDescriptionRequest.Builder |
description(String description)
New description for the KMS key.
|
UpdateKeyDescriptionRequest.Builder |
keyId(String keyId)
Updates the description of the specified KMS key.
|
UpdateKeyDescriptionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateKeyDescriptionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateKeyDescriptionRequest.Builder keyId(String keyId)
Updates the description of the specified KMS key.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
keyId - Updates the description of the specified KMS key.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
UpdateKeyDescriptionRequest.Builder description(String description)
New description for the KMS key.
description - New description for the KMS key.UpdateKeyDescriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateKeyDescriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.