code: public void marshall(VolumeStatistics volumeStatistics, ProtocolMarshaller protocolMarshaller) {
  
          if (volumeStatistics == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(volumeStatistics.getInboxRawCount(), INBOXRAWCOUNT_BINDING);
              protocolMarshaller.marshall(volumeStatistics.getSpamRawCount(), SPAMRAWCOUNT_BINDING);
              protocolMarshaller.marshall(volumeStatistics.getProjectedInbox(), PROJECTEDINBOX_BINDING);
              protocolMarshaller.marshall(volumeStatistics.getProjectedSpam(), PROJECTEDSPAM_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.