org.dasein.cloud.azure
Enum AzureService

java.lang.Object
  extended by java.lang.Enum<AzureService>
      extended by org.dasein.cloud.azure.AzureService
All Implemented Interfaces:
Serializable, Comparable<AzureService>

public enum AzureService
extends Enum<AzureService>

Services supported in Microsoft Azure.

Since:
2012.04.1
Version:
2012.04.1
Author:
George Reese (george.reese@imaginary.com)

Enum Constant Summary
COMPUTE
           
DATABASE
           
PERSISTENT_VM_ROLE
           
STORAGE
           
 
Method Summary
static AzureService fromString(String str)
           
 String toString()
           
static AzureService valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AzureService[] 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

COMPUTE

public static final AzureService COMPUTE

DATABASE

public static final AzureService DATABASE

STORAGE

public static final AzureService STORAGE

PERSISTENT_VM_ROLE

public static final AzureService PERSISTENT_VM_ROLE
Method Detail

values

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

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

valueOf

public static AzureService 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

fromString

@Nullable
public static AzureService fromString(@Nonnull
                                               String str)

toString

@Nonnull
public String toString()
Overrides:
toString in class Enum<AzureService>


Copyright © 2013 enStratus Networks Inc. All Rights Reserved.