code: public void marshall(UpdateRouteRequest updateRouteRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateRouteRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateRouteRequest.getClientToken(), CLIENTTOKEN_BINDING);
              protocolMarshaller.marshall(updateRouteRequest.getMeshName(), MESHNAME_BINDING);
              protocolMarshaller.marshall(updateRouteRequest.getRouteName(), ROUTENAME_BINDING);
              protocolMarshaller.marshall(updateRouteRequest.getSpec(), SPEC_BINDING);
              protocolMarshaller.marshall(updateRouteRequest.getVirtualRouterName(), VIRTUALROUTERNAME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.