Two dimensional enum

Are two dimensional enums a thing in java? i.e.: public enum Modules { ATTACK(enum States{IDLE, NEAREST, NEARESTTOHQ;}), MOVE(enum States{IDLE, NORTH, SOUTH, EAST, WEST;}), SPAWN(enum …