public static interface UpdateSecretResponse.Builder extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<UpdateSecretResponse.Builder,UpdateSecretResponse>
Modifier and Type | Method and Description |
---|---|
UpdateSecretResponse.Builder |
arn(String arn)
The ARN of the secret that was updated.
|
UpdateSecretResponse.Builder |
name(String name)
The friendly name of the secret that was updated.
|
UpdateSecretResponse.Builder |
versionId(String versionId)
If a new version of the secret was created by this operation, then
VersionId contains the unique
identifier of the new version. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UpdateSecretResponse.Builder arn(String arn)
The ARN of the secret that was updated.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
arn
- The ARN of the secret that was updated. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
UpdateSecretResponse.Builder name(String name)
The friendly name of the secret that was updated.
name
- The friendly name of the secret that was updated.UpdateSecretResponse.Builder versionId(String versionId)
If a new version of the secret was created by this operation, then VersionId
contains the unique
identifier of the new version.
versionId
- If a new version of the secret was created by this operation, then VersionId
contains the
unique identifier of the new version.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.