Vaadin 8 Upload Component, bind to form with validators

I need to add validation to an Upload component, but it doesn’t seem to implement the full field API. How can I add validation to it?