How to pass additional parameter to LowLevelManualFunction in Java transforms?

I have a LowLevelManualFunction that I am using to process files using Java transforms.
I want to parametrize my function. I attempted doing it by using a private property, set during construction:

LowLevelTransform lowLevelManualTransform = LowLevelTransform.builder()
                .computeFunctionInstance(new XlsxToDataframe(my_parameter_here))

The code compiles, the checks run successfully, but the build errors with java.io.NotSerializableException

How could I pass a parameter to my LowLevelManualFunction?

The class that holds the compute function needs to implement java.io.Serializable.
In my case, updating XlsxToDataframe definition to just contain implements java.io.Serializable solved the issue.