I used the example from the jclouds wiki https://wiki.apache.org/jclouds/Enums,
and I also think someone could pass a null value in ConsolesApi.getConsole().