docs: public ChannelSpecification withSupportedInputModes(TrainingInputMode... supportedInputModes) {
          java.util.ArrayList<String> supportedInputModesCopy = new java.util.ArrayList<String>(supportedInputModes.length);
          for (TrainingInputMode value : supportedInputModes) {
              supportedInputModesCopy.add(value.toString());
          }
          if (getSupportedInputModes() == null) {
              setSupportedInputModes(supportedInputModesCopy);
          } else {
              getSupportedInputModes().addAll(supportedInputModesCopy);
          }
          return this;
      }