code: public void marshall(Service service, ProtocolMarshaller protocolMarshaller) {
  
          if (service == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(service.getId(), ID_BINDING);
              protocolMarshaller.marshall(service.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(service.getName(), NAME_BINDING);
              protocolMarshaller.marshall(service.getNamespaceId(), NAMESPACEID_BINDING);
              protocolMarshaller.marshall(service.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(service.getInstanceCount(), INSTANCECOUNT_BINDING);
              protocolMarshaller.marshall(service.getDnsConfig(), DNSCONFIG_BINDING);
              protocolMarshaller.marshall(service.getHealthCheckConfig(), HEALTHCHECKCONFIG_BINDING);
              protocolMarshaller.marshall(service.getHealthCheckCustomConfig(), HEALTHCHECKCUSTOMCONFIG_BINDING);
              protocolMarshaller.marshall(service.getCreateDate(), CREATEDATE_BINDING);
              protocolMarshaller.marshall(service.getCreatorRequestId(), CREATORREQUESTID_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.