Interface CrossAccountReplicaEntry.Builder

  • Method Details

    • replicaSecretARN

      CrossAccountReplicaEntry.Builder replicaSecretARN(String replicaSecretARN)

      The ARN of the replica secret.

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

      CrossAccountReplicaEntry.Builder replicationRoleARN(String replicationRoleARN)

      The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.

      Parameters:
      replicationRoleARN - The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationStatus

      CrossAccountReplicaEntry.Builder replicationStatus(String replicationStatus)

      The status of replication from this primary secret. The status can be:

      • InSync: Replication from the primary secret is complete.

      • Failed: Replication from the primary secret was unable to be completed.

      • InProgress: Replication from the primary secret has started but is not complete.

      • Detached: Replication from the primary secret was stopped by the replica.

      Parameters:
      replicationStatus - The status of replication from this primary secret. The status can be:

      • InSync: Replication from the primary secret is complete.

      • Failed: Replication from the primary secret was unable to be completed.

      • InProgress: Replication from the primary secret has started but is not complete.

      • Detached: Replication from the primary secret was stopped by the replica.

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

      CrossAccountReplicaEntry.Builder replicationStatus(StatusType replicationStatus)

      The status of replication from this primary secret. The status can be:

      • InSync: Replication from the primary secret is complete.

      • Failed: Replication from the primary secret was unable to be completed.

      • InProgress: Replication from the primary secret has started but is not complete.

      • Detached: Replication from the primary secret was stopped by the replica.

      Parameters:
      replicationStatus - The status of replication from this primary secret. The status can be:

      • InSync: Replication from the primary secret is complete.

      • Failed: Replication from the primary secret was unable to be completed.

      • InProgress: Replication from the primary secret has started but is not complete.

      • Detached: Replication from the primary secret was stopped by the replica.

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

      CrossAccountReplicaEntry.Builder statusMessage(String statusMessage)

      A message that describes the replication status, if Secrets Manager has more information to provide.

      Parameters:
      statusMessage - A message that describes the replication status, if Secrets Manager has more information to provide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.