public static <L, R> Pair<L, R> of(L left, R right) {
        return new Pair<>(left, right);
    }
Creates a Pair from the given values.

@param left Left value.
@param right Right value.
@param <L> Left value type.
@param <R> Right value type.
@return Returns the created Pair.
smithy-utils/src/main/java/software/amazon/smithy/utils/Pair.java