@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof ChangedMetadata)) {
            return false;
        } else {
            ChangedMetadata that = (ChangedMetadata) o;
            return getKey().equals(that.getKey())
                    && Objects.equals(getOldValue(), that.getOldValue())
                    && Objects.equals(getNewValue(), that.getNewValue());
        }
    }
Gets the new metadata value for this key.

@return Returns the value in the new model.
smithy-diff/src/main/java/software/amazon/smithy/diff/ChangedMetadata.java