code: public void marshall(Connector connector, ProtocolMarshaller protocolMarshaller) {
  
          if (connector == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(connector.getConnectorId(), CONNECTORID_BINDING);
              protocolMarshaller.marshall(connector.getVersion(), VERSION_BINDING);
              protocolMarshaller.marshall(connector.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(connector.getCapabilityList(), CAPABILITYLIST_BINDING);
              protocolMarshaller.marshall(connector.getVmManagerName(), VMMANAGERNAME_BINDING);
              protocolMarshaller.marshall(connector.getVmManagerType(), VMMANAGERTYPE_BINDING);
              protocolMarshaller.marshall(connector.getVmManagerId(), VMMANAGERID_BINDING);
              protocolMarshaller.marshall(connector.getIpAddress(), IPADDRESS_BINDING);
              protocolMarshaller.marshall(connector.getMacAddress(), MACADDRESS_BINDING);
              protocolMarshaller.marshall(connector.getAssociatedOn(), ASSOCIATEDON_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.