public static interface CreateSecretResponse.Builder extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<CreateSecretResponse.Builder,CreateSecretResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateSecretResponse.Builder |
arn(String arn)
The ARN of the new secret.
|
CreateSecretResponse.Builder |
name(String name)
The name of the new secret.
|
CreateSecretResponse.Builder |
replicationStatus(Collection<ReplicationStatusType> replicationStatus)
A list of the replicas of this secret and their status:
|
CreateSecretResponse.Builder |
replicationStatus(Consumer<ReplicationStatusType.Builder>... replicationStatus)
A list of the replicas of this secret and their status:
|
CreateSecretResponse.Builder |
replicationStatus(ReplicationStatusType... replicationStatus)
A list of the replicas of this secret and their status:
|
CreateSecretResponse.Builder |
versionId(String versionId)
The unique identifier associated with the version of the new secret.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSecretResponse.Builder arn(String arn)
The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.
arn - The ARN of the new secret. The ARN includes the name of the secret followed by six random characters.
This ensures that if you create a new secret with the same name as a deleted secret, then users with
access to the old secret don't get access to the new secret because the ARNs are different.CreateSecretResponse.Builder name(String name)
The name of the new secret.
name - The name of the new secret.CreateSecretResponse.Builder versionId(String versionId)
The unique identifier associated with the version of the new secret.
versionId - The unique identifier associated with the version of the new secret.CreateSecretResponse.Builder replicationStatus(Collection<ReplicationStatusType> replicationStatus)
A list of the replicas of this secret and their status:
Failed, which indicates that the replica was not created.
InProgress, which indicates that Secrets Manager is in the process of creating the replica.
InSync, which indicates that the replica was created.
replicationStatus - A list of the replicas of this secret and their status:
Failed, which indicates that the replica was not created.
InProgress, which indicates that Secrets Manager is in the process of creating the
replica.
InSync, which indicates that the replica was created.
CreateSecretResponse.Builder replicationStatus(ReplicationStatusType... replicationStatus)
A list of the replicas of this secret and their status:
Failed, which indicates that the replica was not created.
InProgress, which indicates that Secrets Manager is in the process of creating the replica.
InSync, which indicates that the replica was created.
replicationStatus - A list of the replicas of this secret and their status:
Failed, which indicates that the replica was not created.
InProgress, which indicates that Secrets Manager is in the process of creating the
replica.
InSync, which indicates that the replica was created.
CreateSecretResponse.Builder replicationStatus(Consumer<ReplicationStatusType.Builder>... replicationStatus)
A list of the replicas of this secret and their status:
Failed, which indicates that the replica was not created.
InProgress, which indicates that Secrets Manager is in the process of creating the replica.
InSync, which indicates that the replica was created.
ReplicationStatusType.Builder avoiding the need
to create one manually via
ReplicationStatusType.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #replicationStatus(List.
replicationStatus - a consumer that will call methods on
ReplicationStatusType.Builder#replicationStatus(java.util.Collection) Copyright © 2022. All rights reserved.