docs: public void marshall(WriteTreatmentResource writeTreatmentResource, ProtocolMarshaller protocolMarshaller) {
  
          if (writeTreatmentResource == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(writeTreatmentResource.getMessageConfiguration(), MESSAGECONFIGURATION_BINDING);
              protocolMarshaller.marshall(writeTreatmentResource.getSchedule(), SCHEDULE_BINDING);
              protocolMarshaller.marshall(writeTreatmentResource.getSizePercent(), SIZEPERCENT_BINDING);
              protocolMarshaller.marshall(writeTreatmentResource.getTreatmentDescription(), TREATMENTDESCRIPTION_BINDING);
              protocolMarshaller.marshall(writeTreatmentResource.getTreatmentName(), TREATMENTNAME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }