public CreateModelRequest withModelType(ModelTypeEnum modelType) {
        this.modelType = modelType.toString();
        return this;
    }
<p>
The model type.
</p>

@param modelType
       The model type.
@return Returns a reference to this object so that method calls can be chained together.
@see ModelTypeEnum
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/CreateModelRequest.java