public static enum Region.Type extends java.lang.Enum<Region.Type>
Enum Constant and Description |
---|
BUILDING
Region represents a building.
|
CAMPUS
Region represents a campus.
|
CONTINENT
Region represents an entire continent.
|
COUNTRY
Region represents an entire country.
|
DATA_CENTER
Region represents a data center.
|
FLOOR
Region represents a building floor.
|
LOGICAL_GROUP
Region represents a logical grouping.
|
METRO
Region represents a metropolitan area.
|
RACK
Region represents a rack.
|
ROOM
Region represents a room.
|
Modifier and Type | Method and Description |
---|---|
static Region.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Region.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region.Type CONTINENT
public static final Region.Type COUNTRY
public static final Region.Type METRO
public static final Region.Type CAMPUS
public static final Region.Type BUILDING
public static final Region.Type DATA_CENTER
public static final Region.Type FLOOR
public static final Region.Type ROOM
public static final Region.Type RACK
public static final Region.Type LOGICAL_GROUP
public static Region.Type[] values()
for (Region.Type c : Region.Type.values()) System.out.println(c);
public static Region.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null