What one endpoint is built on: a datagram transport, connectors and listeners, as the CoAP endpoint's constructor takes them, and how it addresses the other side (peer).
The endpoint this side reaches resolved at, where resolved is what a URI of the other side names: over Datagrams, the session to that address; on Connections, resolved itself.