code: public void marshall(ProjectEnvironment projectEnvironment, ProtocolMarshaller protocolMarshaller) {
  
          if (projectEnvironment == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(projectEnvironment.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getImage(), IMAGE_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getComputeType(), COMPUTETYPE_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getEnvironmentVariables(), ENVIRONMENTVARIABLES_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getPrivilegedMode(), PRIVILEGEDMODE_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getCertificate(), CERTIFICATE_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getRegistryCredential(), REGISTRYCREDENTIAL_BINDING);
              protocolMarshaller.marshall(projectEnvironment.getImagePullCredentialsType(), IMAGEPULLCREDENTIALSTYPE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.