| Package | Description |
|---|---|
| software.amazon.awssdk.services.secretsmanager |
|
| software.amazon.awssdk.services.secretsmanager.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<UpdateSecretResponse> |
SecretsManagerAsyncClient.updateSecret(Consumer<UpdateSecretRequest.Builder> updateSecretRequest)
Modifies many of the details of the specified secret.
|
default UpdateSecretResponse |
SecretsManagerClient.updateSecret(Consumer<UpdateSecretRequest.Builder> updateSecretRequest)
Modifies many of the details of the specified secret.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateSecretRequest.Builder |
UpdateSecretRequest.builder() |
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.clientRequestToken(String clientRequestToken)
(Optional) If you want to add a new version to the secret, this parameter specifies a unique identifier for
the new version that helps ensure idempotency.
|
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.description(String description)
(Optional) Specifies an updated user-provided description of the secret.
|
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.kmsKeyId(String kmsKeyId)
(Optional) Specifies an updated ARN or alias of the AWS KMS customer master key (CMK) to be used to encrypt
the protected text in new versions of this secret.
|
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.secretBinary(SdkBytes secretBinary)
(Optional) Specifies updated binary data that you want to encrypt and store in the new version of the secret.
|
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.secretId(String secretId)
Specifies the secret that you want to modify or to which you want to add a new version.
|
UpdateSecretRequest.Builder |
UpdateSecretRequest.Builder.secretString(String secretString)
(Optional) Specifies updated text data that you want to encrypt and store in this new version of the secret.
|
UpdateSecretRequest.Builder |
UpdateSecretRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends UpdateSecretRequest.Builder> |
UpdateSecretRequest.serializableBuilderClass() |
Copyright © 2020. All rights reserved.