org.jclouds.cloudstack.domain
Enum Account.Type

java.lang.Object
  extended by java.lang.Enum<Account.Type>
      extended by org.jclouds.cloudstack.domain.Account.Type
All Implemented Interfaces:
Serializable, Comparable<Account.Type>
Enclosing class:
Account

public static enum Account.Type
extends Enum<Account.Type>


Enum Constant Summary
ADMIN
          full API access.
DOMAIN_ADMIN
          full API access within a domain.
UNRECOGNIZED
           
USER
          API access for all the resources associated with their account.
 
Method Summary
static Account.Type fromValue(String type)
           
 String toString()
           
static Account.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Account.Type[] 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

USER

public static final Account.Type USER
API access for all the resources associated with their account. There may be many users in a domain, many domains in a deployment, and many users in a deployment. This is typically the end user


ADMIN

public static final Account.Type ADMIN
full API access. This is typically a service administrator or code that executes with complete trust in the service operator's environment.


DOMAIN_ADMIN

public static final Account.Type DOMAIN_ADMIN
full API access within a domain. This is the most privileged user that a given customer has. This may be a reseller for the service provider.


UNRECOGNIZED

public static final Account.Type UNRECOGNIZED
Method Detail

values

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

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

valueOf

public static Account.Type 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

toString

public String toString()
Overrides:
toString in class Enum<Account.Type>

fromValue

public static Account.Type fromValue(String type)


Copyright © 2009-2012 jclouds. All Rights Reserved.