How to set an id to a GWT TextBox

TextBox myTextBox = new TextBox();
myTextBox.getElement().setId("my_text_box_id");