public ConnectionDescription withConnectionId ( final ConnectionId connectionId ) { notNull ( "connectionId" , connectionId ) ; return new ConnectionDescription ( connectionId , serverVersion , maxWireVersion , serverType , maxBatchCount , maxDocumentSize , maxMessageSize , compressors ) ; }
Creates a new connection description with the set connection id