docs: public void setSupportedEndpointTypes(java.util.Collection<SupportedEndpointType> supportedEndpointTypes) {
          if (supportedEndpointTypes == null) {
              this.supportedEndpointTypes = null;
              return;
          }
  
          this.supportedEndpointTypes = new java.util.ArrayList<SupportedEndpointType>(supportedEndpointTypes);
      }