code: public void marshall(GetInstancesHealthStatusRequest getInstancesHealthStatusRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getInstancesHealthStatusRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getInstancesHealthStatusRequest.getServiceId(), SERVICEID_BINDING);
              protocolMarshaller.marshall(getInstancesHealthStatusRequest.getInstances(), INSTANCES_BINDING);
              protocolMarshaller.marshall(getInstancesHealthStatusRequest.getMaxResults(), MAXRESULTS_BINDING);
              protocolMarshaller.marshall(getInstancesHealthStatusRequest.getNextToken(), NEXTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.