public Severity getDefaultedSeverity() {
            return severity == null ? Severity.ERROR : severity;
        }
Represents an individual trait diff rule to define backward compatibility rules.
smithy-model/src/main/java/software/amazon/smithy/model/traits/TraitDefinition.java