org.dasein.cloud.azure
Enum AzureService
java.lang.Object
java.lang.Enum<AzureService>
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)
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
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.