docs: public void setConnections(java.util.Collection<Connection> connections) {
          if (connections == null) {
              this.connections = null;
              return;
          }
  
          this.connections = new java.util.ArrayList<Connection>(connections);
      }