docs: public void marshall(ComputeResource computeResource, ProtocolMarshaller protocolMarshaller) {
  
          if (computeResource == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(computeResource.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(computeResource.getMinvCpus(), MINVCPUS_BINDING);
              protocolMarshaller.marshall(computeResource.getMaxvCpus(), MAXVCPUS_BINDING);
              protocolMarshaller.marshall(computeResource.getDesiredvCpus(), DESIREDVCPUS_BINDING);
              protocolMarshaller.marshall(computeResource.getInstanceTypes(), INSTANCETYPES_BINDING);
              protocolMarshaller.marshall(computeResource.getImageId(), IMAGEID_BINDING);
              protocolMarshaller.marshall(computeResource.getSubnets(), SUBNETS_BINDING);
              protocolMarshaller.marshall(computeResource.getSecurityGroupIds(), SECURITYGROUPIDS_BINDING);
              protocolMarshaller.marshall(computeResource.getEc2KeyPair(), EC2KEYPAIR_BINDING);
              protocolMarshaller.marshall(computeResource.getInstanceRole(), INSTANCEROLE_BINDING);
              protocolMarshaller.marshall(computeResource.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(computeResource.getPlacementGroup(), PLACEMENTGROUP_BINDING);
              protocolMarshaller.marshall(computeResource.getBidPercentage(), BIDPERCENTAGE_BINDING);
              protocolMarshaller.marshall(computeResource.getSpotIamFleetRole(), SPOTIAMFLEETROLE_BINDING);
              protocolMarshaller.marshall(computeResource.getLaunchTemplate(), LAUNCHTEMPLATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }