code: public void marshall(Command command, ProtocolMarshaller protocolMarshaller) {
  
          if (command == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(command.getCommandId(), COMMANDID_BINDING);
              protocolMarshaller.marshall(command.getInstanceId(), INSTANCEID_BINDING);
              protocolMarshaller.marshall(command.getDeploymentId(), DEPLOYMENTID_BINDING);
              protocolMarshaller.marshall(command.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(command.getAcknowledgedAt(), ACKNOWLEDGEDAT_BINDING);
              protocolMarshaller.marshall(command.getCompletedAt(), COMPLETEDAT_BINDING);
              protocolMarshaller.marshall(command.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(command.getExitCode(), EXITCODE_BINDING);
              protocolMarshaller.marshall(command.getLogUrl(), LOGURL_BINDING);
              protocolMarshaller.marshall(command.getType(), TYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.