@Override
        public boolean equals(Object obj) {
            if (obj instanceof BreakingChangeRule) {
                BreakingChangeRule other = (BreakingChangeRule) obj;
                return Objects.equals(path, other.path)
                        && Objects.equals(severity, other.severity)
                        && Objects.equals(message, other.message)
                        && change == other.change;
            } else {
                return false;
            }
        }
Represents an individual trait diff rule to define backward compatibility rules.
smithy-model/src/main/java/software/amazon/smithy/model/traits/TraitDefinition.java