void severity(Severity severity) {
        this.severity = severity;
    }
Set the severity.

@param severity Severity to set.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/ValidatorOptions.java