Interface ReplicationPeer.Builder

  • Method Details

    • peerDomainArn

      ReplicationPeer.Builder peerDomainArn(String peerDomainArn)

      The Amazon Resource Name (ARN) of the peer domain.

      Parameters:
      peerDomainArn - The Amazon Resource Name (ARN) of the peer domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peerRole

      ReplicationPeer.Builder peerRole(String peerRole)

      The peer's role in the relationship, either PRIMARY or SECONDARY.

      Parameters:
      peerRole - The peer's role in the relationship, either PRIMARY or SECONDARY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • peerRole

      The peer's role in the relationship, either PRIMARY or SECONDARY.

      Parameters:
      peerRole - The peer's role in the relationship, either PRIMARY or SECONDARY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The state of the relationship:

      • PENDING_SETUP - replication is being established.

      • ACTIVE - replication is running.

      • SWITCHING_OVER - a planned promotion is in progress.

      • FAILING_OVER - an unplanned promotion is in progress.

      • PENDING_REMOVAL - replication is being stopped.

      • DETACHED - the relationship has ended.

      • EJECTED - a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again.

      • FAILED - setup or teardown could not complete. You can still remove the relationship.

      A relationship that is removed successfully no longer appears in Peers.

      Parameters:
      status - The state of the relationship:

      • PENDING_SETUP - replication is being established.

      • ACTIVE - replication is running.

      • SWITCHING_OVER - a planned promotion is in progress.

      • FAILING_OVER - an unplanned promotion is in progress.

      • PENDING_REMOVAL - replication is being stopped.

      • DETACHED - the relationship has ended.

      • EJECTED - a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again.

      • FAILED - setup or teardown could not complete. You can still remove the relationship.

      A relationship that is removed successfully no longer appears in Peers.

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

      The state of the relationship:

      • PENDING_SETUP - replication is being established.

      • ACTIVE - replication is running.

      • SWITCHING_OVER - a planned promotion is in progress.

      • FAILING_OVER - an unplanned promotion is in progress.

      • PENDING_REMOVAL - replication is being stopped.

      • DETACHED - the relationship has ended.

      • EJECTED - a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again.

      • FAILED - setup or teardown could not complete. You can still remove the relationship.

      A relationship that is removed successfully no longer appears in Peers.

      Parameters:
      status - The state of the relationship:

      • PENDING_SETUP - replication is being established.

      • ACTIVE - replication is running.

      • SWITCHING_OVER - a planned promotion is in progress.

      • FAILING_OVER - an unplanned promotion is in progress.

      • PENDING_REMOVAL - replication is being stopped.

      • DETACHED - the relationship has ended.

      • EJECTED - a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again.

      • FAILED - setup or teardown could not complete. You can still remove the relationship.

      A relationship that is removed successfully no longer appears in Peers.

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

      ReplicationPeer.Builder statusMessage(String statusMessage)

      An explanation of why the relationship is in its current state, when more detail is available.

      Parameters:
      statusMessage - An explanation of why the relationship is in its current state, when more detail is available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.