public enum MonitoringState extends Enum<MonitoringState>
InstanceClient#runInstances
,
MonitoringClient#monitorInstances
,
MonitoringClient#UnmonitorInstances
Enum Constant and Description |
---|
DISABLED |
DISABLING |
ENABLED |
PENDING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static MonitoringState |
fromValue(String state) |
String |
toString() |
String |
value() |
static MonitoringState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitoringState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitoringState PENDING
public static final MonitoringState ENABLED
public static final MonitoringState DISABLING
public static final MonitoringState DISABLED
public static final MonitoringState UNRECOGNIZED
public static MonitoringState[] values()
for (MonitoringState c : MonitoringState.values()) System.out.println(c);
public static MonitoringState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<MonitoringState>
public static MonitoringState fromValue(String state)
Copyright © 2009-2012 jclouds. All Rights Reserved.