public void setPeerState(boolean enabled) {
    this.peerState = enabled ? PeerState.ENABLED : PeerState.DISABLED;
  }
Constructor that takes all the objects required to communicate with the specified peer, except
for the region server addresses.
@param conf       configuration object to this peer
@param id         string representation of this peer's identifier
@param peerConfig configuration for the replication peer
hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerImpl.java