@SuppressWarnings("unused") public static FlowletQueueId fromIdParts(Iterable<String> idString) { Iterator<String> iterator = idString.iterator(); return new FlowletQueueId( next(iterator, "namespace"), next(iterator, "application"), next(iterator, "flow"), next(iterator, "flowlet"), nextAndEnd(iterator, "queue")); }