Groovy Documentation

com.ace.mws.vpcs
[Groovy] Enum VPCState

java.lang.Object
  com.ace.mws.vpcs.VPCState

enum VPCState

This enumeration represents all possible states for a virtual private cluster.


Enum Constant Summary
ACTIVE

The virtual private cluster has been created and is active.

CLEANUP

The virtual private cluster is in the process of being destroyed and cleaned up.

COMPLETED

The virtual private cluster has been destroyed and is completed.

INITIALIZING

The virtual private cluster is in the process of being created.

PENDING

The virtual private cluster has not yet started nor is in the process of initialization.

 
Field Summary
private String string

 
Constructor Summary
private VPCState(String string)

 
Method Summary
static VPCState parseString(String string)

String toString()

VPCState valueOf(String name)

Returns the enum constant of this type with the specified name.

VPCState[] values()

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

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

ACTIVE

VPCState ACTIVE
The virtual private cluster has been created and is active.


CLEANUP

VPCState CLEANUP
The virtual private cluster is in the process of being destroyed and cleaned up.


COMPLETED

VPCState COMPLETED
The virtual private cluster has been destroyed and is completed.


INITIALIZING

VPCState INITIALIZING
The virtual private cluster is in the process of being created.


PENDING

VPCState PENDING
The virtual private cluster has not yet started nor is in the process of initialization.


 
Field Detail

string

private String string


 
Constructor Detail

VPCState

private VPCState(String string)


 
Method Detail

parseString

static VPCState parseString(String string)

Parses a string and converts it into a corresponding VPCState enum value.

If the string cannot be converted, then a ParseException is thrown.

throws:
ParseException thrown if the string cannot be parsed.
Parameters:
string - the string to parse.
Returns:
a corresponding VPCState enum value.


toString

String toString()


valueOf

VPCState valueOf(String name)
Returns the enum constant of this type with the specified name.


values

VPCState[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation