@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        RecordValue record = (RecordValue) o;
        return Objects.equals(value, record.value);
    }
Gets the value in the record for the provided key.

@param key the key to retrieve a value for.
@return the value for the provided key, or null if the key is not present.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/value/RecordValue.java