Interface AssociateCrossAccountReplicaResponse.Builder

  • Method Details

    • arn

      The ARN of the primary secret.

      Parameters:
      arn - The ARN of the primary secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • crossAccountReplicaARN

      AssociateCrossAccountReplicaResponse.Builder crossAccountReplicaARN(String crossAccountReplicaARN)

      The ARN of the replica secret in the other account.

      Parameters:
      crossAccountReplicaARN - The ARN of the replica secret in the other account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationStatus

      AssociateCrossAccountReplicaResponse.Builder replicationStatus(String replicationStatus)

      The status of replication to the replica secret. Possible values:

      • InSync, which indicates that replication to the replica completed successfully and the replica is up to date.

      • Failed, which indicates that replication to the replica did not succeed.

      • InProgress, which indicates that Secrets Manager is replicating to the replica.

      • Pending, which indicates that replication has not yet started.

      • Detached, which indicates that primary secret is no longer linked to the replica secret.

      Parameters:
      replicationStatus - The status of replication to the replica secret. Possible values:

      • InSync, which indicates that replication to the replica completed successfully and the replica is up to date.

      • Failed, which indicates that replication to the replica did not succeed.

      • InProgress, which indicates that Secrets Manager is replicating to the replica.

      • Pending, which indicates that replication has not yet started.

      • Detached, which indicates that primary secret is no longer linked to the replica secret.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • replicationStatus

      AssociateCrossAccountReplicaResponse.Builder replicationStatus(StatusType replicationStatus)

      The status of replication to the replica secret. Possible values:

      • InSync, which indicates that replication to the replica completed successfully and the replica is up to date.

      • Failed, which indicates that replication to the replica did not succeed.

      • InProgress, which indicates that Secrets Manager is replicating to the replica.

      • Pending, which indicates that replication has not yet started.

      • Detached, which indicates that primary secret is no longer linked to the replica secret.

      Parameters:
      replicationStatus - The status of replication to the replica secret. Possible values:

      • InSync, which indicates that replication to the replica completed successfully and the replica is up to date.

      • Failed, which indicates that replication to the replica did not succeed.

      • InProgress, which indicates that Secrets Manager is replicating to the replica.

      • Pending, which indicates that replication has not yet started.

      • Detached, which indicates that primary secret is no longer linked to the replica secret.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: