public void setTaskConfig(TaskConfig taskConfig) {
        this.taskConfig = taskConfig;
    }
<p>
Configuration about the model associated with the flywheel. You need to set <code>TaskConfig</code> if you are
creating a flywheel for a new model.
</p>

@param taskConfig
       Configuration about the model associated with the flywheel. You need to set <code>TaskConfig</code> if you
       are creating a flywheel for a new model.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/CreateFlywheelRequest.java