code: public void marshall(Container container, ProtocolMarshaller protocolMarshaller) {
  
          if (container == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(container.getContainerArn(), CONTAINERARN_BINDING);
              protocolMarshaller.marshall(container.getTaskArn(), TASKARN_BINDING);
              protocolMarshaller.marshall(container.getName(), NAME_BINDING);
              protocolMarshaller.marshall(container.getLastStatus(), LASTSTATUS_BINDING);
              protocolMarshaller.marshall(container.getExitCode(), EXITCODE_BINDING);
              protocolMarshaller.marshall(container.getReason(), REASON_BINDING);
              protocolMarshaller.marshall(container.getNetworkBindings(), NETWORKBINDINGS_BINDING);
              protocolMarshaller.marshall(container.getNetworkInterfaces(), NETWORKINTERFACES_BINDING);
              protocolMarshaller.marshall(container.getHealthStatus(), HEALTHSTATUS_BINDING);
              protocolMarshaller.marshall(container.getCpu(), CPU_BINDING);
              protocolMarshaller.marshall(container.getMemory(), MEMORY_BINDING);
              protocolMarshaller.marshall(container.getMemoryReservation(), MEMORYRESERVATION_BINDING);
              protocolMarshaller.marshall(container.getGpuIds(), GPUIDS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.