How to set edge side of mesh?

I want to set edge side of mesh. For example, when I created a cylinder, Blender auto generates the number of edge side. How can I change it?

Press T to show the toolshelf. After you add an object you can change its settings from the bottom of this panel or by pressing F6. This os only available as soon as you add an object. If you do any other actions the options will disappear

Thanks, it’s help me a lot.