code: public void marshall(Counters counters, ProtocolMarshaller protocolMarshaller) {
  
          if (counters == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(counters.getTotal(), TOTAL_BINDING);
              protocolMarshaller.marshall(counters.getPassed(), PASSED_BINDING);
              protocolMarshaller.marshall(counters.getFailed(), FAILED_BINDING);
              protocolMarshaller.marshall(counters.getWarned(), WARNED_BINDING);
              protocolMarshaller.marshall(counters.getErrored(), ERRORED_BINDING);
              protocolMarshaller.marshall(counters.getStopped(), STOPPED_BINDING);
              protocolMarshaller.marshall(counters.getSkipped(), SKIPPED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.