Package org.jclouds.cloudstack.domain
Enum Tag.ResourceType
- java.lang.Object
-
- java.lang.Enum<Tag.ResourceType>
-
- org.jclouds.cloudstack.domain.Tag.ResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<Tag.ResourceType>
- Enclosing class:
- Tag
public static enum Tag.ResourceType extends Enum<Tag.ResourceType>
Type of resource to update.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tag.ResourceType
fromValue(String resourceType)
String
getCode()
String
toString()
static Tag.ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Tag.ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_VM
public static final Tag.ResourceType USER_VM
-
TEMPLATE
public static final Tag.ResourceType TEMPLATE
-
ISO
public static final Tag.ResourceType ISO
-
VOLUME
public static final Tag.ResourceType VOLUME
-
SNAPSHOT
public static final Tag.ResourceType SNAPSHOT
-
NETWORK
public static final Tag.ResourceType NETWORK
-
NIC
public static final Tag.ResourceType NIC
-
LOAD_BALANCER
public static final Tag.ResourceType LOAD_BALANCER
-
PORT_FORWARDING_RULE
public static final Tag.ResourceType PORT_FORWARDING_RULE
-
FIREWALL_RULE
public static final Tag.ResourceType FIREWALL_RULE
-
SECURITY_GROUP
public static final Tag.ResourceType SECURITY_GROUP
-
PUBLIC_IP_ADDRESS
public static final Tag.ResourceType PUBLIC_IP_ADDRESS
-
PROJECT
public static final Tag.ResourceType PROJECT
-
VPC
public static final Tag.ResourceType VPC
-
NETWORK_ACL
public static final Tag.ResourceType NETWORK_ACL
-
STATIC_ROUTE
public static final Tag.ResourceType STATIC_ROUTE
-
VM_SNAPSHOT
public static final Tag.ResourceType VM_SNAPSHOT
-
REMOTE_ACCESS_VPN
public static final Tag.ResourceType REMOTE_ACCESS_VPN
-
ZONE
public static final Tag.ResourceType ZONE
-
SERVICE_OFFERING
public static final Tag.ResourceType SERVICE_OFFERING
-
STORAGE
public static final Tag.ResourceType STORAGE
-
PRIVATE_GATEWAY
public static final Tag.ResourceType PRIVATE_GATEWAY
-
NETWORK_ACL_LIST
public static final Tag.ResourceType NETWORK_ACL_LIST
-
VPN_GATEWAY
public static final Tag.ResourceType VPN_GATEWAY
-
CUSTOMER_GATEWAY
public static final Tag.ResourceType CUSTOMER_GATEWAY
-
VPN_CONNECTION
public static final Tag.ResourceType VPN_CONNECTION
-
UNRECOGNIZED
public static final Tag.ResourceType UNRECOGNIZED
-
-
Method Detail
-
values
public static Tag.ResourceType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Tag.ResourceType c : Tag.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tag.ResourceType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public String getCode()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Tag.ResourceType>
-
fromValue
public static Tag.ResourceType fromValue(String resourceType)
-
-