Create a builder that allows for creating different encoder types.
Create a builder that allows for creating different encoder types.