docs: public void setResources(java.util.Collection<HandshakeResource> resources) {
          if (resources == null) {
              this.resources = null;
              return;
          }
  
          this.resources = new java.util.ArrayList<HandshakeResource>(resources);
      }