public enum Resource extends Enum<Resource>
| Enum Constant and Description |
|---|
FLOATING_IP |
NETWORK |
PORT |
QOS_POLICY |
ROUTER |
SECURITY_GROUP |
SUBNET |
SUBNET_POOL |
TRUNK |
| Modifier and Type | Method and Description |
|---|---|
static String |
forValue(Resource resource) |
static Resource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource SECURITY_GROUP
public static final Resource NETWORK
public static final Resource SUBNET
public static final Resource PORT
public static final Resource ROUTER
public static final Resource SUBNET_POOL
public static final Resource FLOATING_IP
public static final Resource QOS_POLICY
public static final Resource TRUNK
public static Resource[] values()
for (Resource c : Resource.values()) System.out.println(c);
public static Resource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.