code: public void marshall(CreateMLModelRequest createMLModelRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createMLModelRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createMLModelRequest.getMLModelId(), MLMODELID_BINDING);
              protocolMarshaller.marshall(createMLModelRequest.getMLModelName(), MLMODELNAME_BINDING);
              protocolMarshaller.marshall(createMLModelRequest.getMLModelType(), MLMODELTYPE_BINDING);
              protocolMarshaller.marshall(createMLModelRequest.getParameters(), PARAMETERS_BINDING);
              protocolMarshaller.marshall(createMLModelRequest.getTrainingDataSourceId(), TRAININGDATASOURCEID_BINDING);
              protocolMarshaller.marshall(createMLModelRequest.getRecipe(), RECIPE_BINDING);
              protocolMarshaller.marshall(createMLModelRequest.getRecipeUri(), RECIPEURI_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.