public void model(Model model) {
        this.model = model;
    }
Sets the required model to generate from.

@param model Model to generate from.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java