In a static structure, component, or deployment diagram, drag the Interface shape onto the drawing page.
Glue the endpoint without the circle to a connection point on the class component, or other element.
Double-click the Interface shape to add a name, operations, and other property values.
You can also represent an interface with a rectangular Interface shape that resembles a class. Use this shape when you want to display a list of the interface operations.
To change the type of shape that displays for an interface, right-click the Interface shape and click Show as Class-like Interface or Show as Lollipop Interface.