public static interface CreateSecretResponse.Builder extends SecretsManagerResponse.Builder, CopyableBuilder<CreateSecretResponse.Builder,CreateSecretResponse>
Modifier and Type | Method and Description |
---|---|
CreateSecretResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the secret that you just created.
|
CreateSecretResponse.Builder |
name(String name)
The friendly name of the secret that you just created.
|
CreateSecretResponse.Builder |
versionId(String versionId)
The unique identifier that's associated with the version of the secret you just created.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateSecretResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the secret that you just created.
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 Amazon Resource Name (ARN) of the secret that you just created. 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.
CreateSecretResponse.Builder name(String name)
The friendly name of the secret that you just created.
name
- The friendly name of the secret that you just created.CreateSecretResponse.Builder versionId(String versionId)
The unique identifier that's associated with the version of the secret you just created.
versionId
- The unique identifier that's associated with the version of the secret you just created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.