Specify one of eight inputs based on an integer Switch. The eight inputs are named Case 0 to Case 7. You can set an integer Value (for matching) and an Input for each Case.
When Switch is equal to the Value of Case n, the Input of Case n is evaluated and flows downstream through the render tree. When Switch is equal to the Value of more than one Case, the first Case (in numerical order) to match gets evaluated. If Switch matches none of the Cases, then the Default parameter is evaluated instead.
All of the parameters can be animated or driven by another shader in the render tree.