public static interface UpdateSecretResponse.Builder extends SecretsManagerResponse.Builder, CopyableBuilder<UpdateSecretResponse.Builder,UpdateSecretResponse>
Modifier and Type | Method and Description |
---|---|
UpdateSecretResponse.Builder |
arn(String arn)
The ARN of this secret.
|
UpdateSecretResponse.Builder |
name(String name)
The friendly name of this secret.
|
UpdateSecretResponse.Builder |
versionId(String versionId)
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UpdateSecretResponse.Builder arn(String arn)
The ARN of this secret.
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 this secret. 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 this secret.
name
- The friendly name of this secret.UpdateSecretResponse.Builder versionId(String versionId)
If a version of the secret was created or updated by this operation, then its unique identifier is returned.
versionId
- If a version of the secret was created or updated by this operation, then its unique identifier is
returned.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.