public void settings(S settings) {
        this.settings = settings;
    }
Sets the required settings object used for code generation.

<p>{@link #integrationSettings} MUST also be set.

@param settings Settings object.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java