code: public void marshall(ContainerOverride containerOverride, ProtocolMarshaller protocolMarshaller) {
  
          if (containerOverride == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(containerOverride.getName(), NAME_BINDING);
              protocolMarshaller.marshall(containerOverride.getCommand(), COMMAND_BINDING);
              protocolMarshaller.marshall(containerOverride.getEnvironment(), ENVIRONMENT_BINDING);
              protocolMarshaller.marshall(containerOverride.getCpu(), CPU_BINDING);
              protocolMarshaller.marshall(containerOverride.getMemory(), MEMORY_BINDING);
              protocolMarshaller.marshall(containerOverride.getMemoryReservation(), MEMORYRESERVATION_BINDING);
              protocolMarshaller.marshall(containerOverride.getResourceRequirements(), RESOURCEREQUIREMENTS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.