In a large non-stick fry pan, heat vegetable oil. Add garlic and red chili (if using). Fry for 1 minute.
Add salmon and green beans and continue to cook for 2 to 3 minutes.
Then add cooked rice, soy sauce, salt, and pepper. Stir to get everything well mixed.
Using the spatula, create a well in the center of the pan. Crack the egg in there and fold the rice back onto the egg. Continue to stir until the egg is cooked and rice is dry and fluffy. This will take 4 to 5 minutes.