org.jclouds.googlecomputeengine.domain
Enum Resource.Kind

java.lang.Object
  extended by java.lang.Enum<Resource.Kind>
      extended by org.jclouds.googlecomputeengine.domain.Resource.Kind
All Implemented Interfaces:
Serializable, Comparable<Resource.Kind>
Enclosing class:
Resource

public static enum Resource.Kind
extends Enum<Resource.Kind>


Enum Constant Summary
ADDRESS
           
ADDRESS_LIST
           
DISK
           
DISK_LIST
           
FIREWALL
           
FIREWALL_LIST
           
IMAGE
           
IMAGE_LIST
           
INSTANCE
           
INSTANCE_LIST
           
MACHINE_TYPE
           
MACHINE_TYPE_LIST
           
NETWORK
           
NETWORK_LIST
           
OPERATION
           
OPERATION_LIST
           
PROJECT
           
REGION
           
REGION_LIST
           
ROUTE
           
ROUTE_LIST
           
SNAPSHOT
           
SNAPSHOT_LIST
           
ZONE
           
ZONE_LIST
           
 
Method Summary
static Resource.Kind fromValue(String kind)
           
 String toString()
           
 String value()
           
static Resource.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Resource.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADDRESS

public static final Resource.Kind ADDRESS

ADDRESS_LIST

public static final Resource.Kind ADDRESS_LIST

DISK

public static final Resource.Kind DISK

DISK_LIST

public static final Resource.Kind DISK_LIST

FIREWALL

public static final Resource.Kind FIREWALL

FIREWALL_LIST

public static final Resource.Kind FIREWALL_LIST

IMAGE

public static final Resource.Kind IMAGE

IMAGE_LIST

public static final Resource.Kind IMAGE_LIST

OPERATION

public static final Resource.Kind OPERATION

OPERATION_LIST

public static final Resource.Kind OPERATION_LIST

INSTANCE

public static final Resource.Kind INSTANCE

INSTANCE_LIST

public static final Resource.Kind INSTANCE_LIST

MACHINE_TYPE

public static final Resource.Kind MACHINE_TYPE

MACHINE_TYPE_LIST

public static final Resource.Kind MACHINE_TYPE_LIST

PROJECT

public static final Resource.Kind PROJECT

NETWORK

public static final Resource.Kind NETWORK

NETWORK_LIST

public static final Resource.Kind NETWORK_LIST

REGION

public static final Resource.Kind REGION

REGION_LIST

public static final Resource.Kind REGION_LIST

ROUTE

public static final Resource.Kind ROUTE

ROUTE_LIST

public static final Resource.Kind ROUTE_LIST

SNAPSHOT

public static final Resource.Kind SNAPSHOT

SNAPSHOT_LIST

public static final Resource.Kind SNAPSHOT_LIST

ZONE

public static final Resource.Kind ZONE

ZONE_LIST

public static final Resource.Kind ZONE_LIST
Method Detail

values

public static Resource.Kind[] 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 (Resource.Kind c : Resource.Kind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Resource.Kind 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 name
NullPointerException - if the argument is null

value

public String value()

toString

public String toString()
Overrides:
toString in class Enum<Resource.Kind>

fromValue

public static Resource.Kind fromValue(String kind)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.