How can I give an ellipse (or any element created with the Figma object) a stroke/border - Figma plugin development?

I am working on making a Figma plugin, but I can’t figure out how to give an EllipseNode a stroke/border. Can somebody help me out please? Thanks.