This six inch cleanout plug is male pipe thread on the end and has a raised nut on top. This is a DWV or drain waste vent fitting and it's made of white PVC.