docs: public void setRequiredCapabilities(java.util.Collection<String> requiredCapabilities) {
          if (requiredCapabilities == null) {
              this.requiredCapabilities = null;
              return;
          }
  
          this.requiredCapabilities = new java.util.ArrayList<String>(requiredCapabilities);
      }