This is a plug for a standard garden hose and also has a 3/4" hex end.
The part is not 100% waterproof, so it will plug your hose but will probably drip. May be able to be waterproofed if a sealant were applied. Depending on your slicing software, it may print with supports in between the threads. This should be pretty easy to remove.