org.jclouds.googlecloudstorage.domain
Enum Resource.Kind

java.lang.Object
  extended by java.lang.Enum<Resource.Kind>
      extended by org.jclouds.googlecloudstorage.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
BUCKET
           
BUCKET_ACCESS_CONTROL
           
BUCKET_ACCESS_CONTROLS
           
BUCKETS
           
OBJECT
           
OBJECT_ACCESS_CONTROL
           
OBJECT_ACCESS_CONTROLS
           
 
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

BUCKET_ACCESS_CONTROL

public static final Resource.Kind BUCKET_ACCESS_CONTROL

BUCKET_ACCESS_CONTROLS

public static final Resource.Kind BUCKET_ACCESS_CONTROLS

BUCKET

public static final Resource.Kind BUCKET

BUCKETS

public static final Resource.Kind BUCKETS

OBJECT_ACCESS_CONTROL

public static final Resource.Kind OBJECT_ACCESS_CONTROL

OBJECT_ACCESS_CONTROLS

public static final Resource.Kind OBJECT_ACCESS_CONTROLS

OBJECT

public static final Resource.Kind OBJECT
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.