java.io.Serializable
, java.lang.Comparable<ResourceGroupLifecycleOperations.RGState>
, java.lang.constant.Constable
public static enum ResourceGroupLifecycleOperations.RGState extends java.lang.Enum<ResourceGroupLifecycleOperations.RGState>
Enum Constant | Description |
---|---|
ADMIN |
|
FORCE_SHUTTING_DOWN |
|
FORCE_SUSPENDING |
|
RESUMING |
|
RUNNING |
|
SHUTDOWN |
|
SHUTTING_DOWN |
|
STARTING |
|
STARTING_IN_ADMIN |
|
SUSPENDING |
|
UNKNOWN |
Modifier and Type | Field | Description |
---|---|---|
private static boolean |
USE_OLD_STATE_NAMES |
public static final ResourceGroupLifecycleOperations.RGState UNKNOWN
public static final ResourceGroupLifecycleOperations.RGState SHUTDOWN
public static final ResourceGroupLifecycleOperations.RGState FORCE_SHUTTING_DOWN
public static final ResourceGroupLifecycleOperations.RGState SHUTTING_DOWN
public static final ResourceGroupLifecycleOperations.RGState STARTING_IN_ADMIN
public static final ResourceGroupLifecycleOperations.RGState ADMIN
public static final ResourceGroupLifecycleOperations.RGState RESUMING
public static final ResourceGroupLifecycleOperations.RGState FORCE_SUSPENDING
public static final ResourceGroupLifecycleOperations.RGState SUSPENDING
public static final ResourceGroupLifecycleOperations.RGState STARTING
public static final ResourceGroupLifecycleOperations.RGState RUNNING
public static ResourceGroupLifecycleOperations.RGState[] values()
for (ResourceGroupLifecycleOperations.RGState c : ResourceGroupLifecycleOperations.RGState.values()) System.out.println(c);
public static ResourceGroupLifecycleOperations.RGState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ResourceGroupLifecycleOperations.RGState max(ResourceGroupLifecycleOperations.RGState s1, ResourceGroupLifecycleOperations.RGState s2)
public static ResourceGroupLifecycleOperations.RGState min(ResourceGroupLifecycleOperations.RGState... states)
public static boolean isRunning(ResourceGroupLifecycleOperations.RGState s)
public static boolean isShutdown(ResourceGroupLifecycleOperations.RGState s)
public static boolean isRunning(java.lang.String stateName)
public static boolean isShutdown(java.lang.String stateName)
public static boolean isAdmin(java.lang.String stateName)
public static ResourceGroupLifecycleOperations.RGState runningState()
public static ResourceGroupLifecycleOperations.RGState shutdownState()
public static ResourceGroupLifecycleOperations.RGState shuttingDownState()
public static java.lang.String chooseUserDesiredStateName(ResourceGroupLifecycleOperations.RGState s)
public static ResourceGroupLifecycleOperations.RGState normalize(java.lang.String stateName)