How to create a slice effect on a Cylinder mesh

I am new to blender and was trying to reproduce this animation I did in Cinema 4D.

I have a build this cylinder in Cinema 4D and there you have a option to apply slice to the cylinder and set up your angle.
Is that possible in Blender.

try using boolean modifier and screw modifier