code: public void marshall(VirtualNodeSpec virtualNodeSpec, ProtocolMarshaller protocolMarshaller) {
  
          if (virtualNodeSpec == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(virtualNodeSpec.getBackends(), BACKENDS_BINDING);
              protocolMarshaller.marshall(virtualNodeSpec.getListeners(), LISTENERS_BINDING);
              protocolMarshaller.marshall(virtualNodeSpec.getLogging(), LOGGING_BINDING);
              protocolMarshaller.marshall(virtualNodeSpec.getServiceDiscovery(), SERVICEDISCOVERY_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.