public CreateFlywheelRequest withModelType(ModelType modelType) {
        this.modelType = modelType.toString();
        return this;
    }
<p>
The model type. You need to set <code>ModelType</code> if you are creating a flywheel for a new model.
</p>

@param modelType
       The model type. You need to set <code>ModelType</code> if you are creating a flywheel for a new model.
@return Returns a reference to this object so that method calls can be chained together.
@see ModelType
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/CreateFlywheelRequest.java